Skip to content

Commit

Permalink
Remove test causing other tests to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Anachor committed Nov 4, 2022
1 parent 786a2ee commit 3d89a9c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/Lachain.CoreTest/Blockchain/Config/ConfigBackupTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,6 @@ public void TestConfigBackup()
System.IO.File.WriteAllText(configBackupPath,string.Empty);
ReloadConfig();
CheckConfig(configPath, configBackupPath);

//Should throw error if neither file present
File.Delete(configPath);
File.Delete(configBackupPath);
Assert.Throws<System.IO.FileNotFoundException>(() => ReloadConfig());
}

private IReadOnlyDictionary<string, object> loadConfig(string _filePath) {
Expand Down

0 comments on commit 3d89a9c

Please sign in to comment.