SEBWIN-301: Added missing test case for configuration backup repository.
This commit is contained in:
parent
3a95bb054b
commit
c122f088c9
1 changed files with 14 additions and 0 deletions
|
@ -70,6 +70,20 @@ namespace SafeExamBrowser.Lockdown.UnitTests
|
|||
Assert.IsFalse(File.Exists(filePath));
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void Delete_MustNotFailIfDataNotInBackup()
|
||||
{
|
||||
var configuration = new FeatureConfigurationStub();
|
||||
|
||||
sut.Delete(configuration);
|
||||
|
||||
sut.Save(new FeatureConfigurationStub());
|
||||
sut.Save(new FeatureConfigurationStub());
|
||||
sut.Save(new FeatureConfigurationStub());
|
||||
|
||||
sut.Delete(configuration);
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void GetAll_MustReturnAllConfigurationData()
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue