We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b27a71 commit 3c1594eCopy full SHA for 3c1594e
LearningForDummies/Assets/Editor/Tests/Test.cs
@@ -36,13 +36,11 @@ public void loadPlayerProfileReturnsNull(string profileName)
36
}
37
38
[Test]
39
- public void loadCatalougesReturnsNull()
+ public void loadCatalougesReturnsList()
40
{
41
SaveSystem saveSystem = new SaveSystem();
42
var answer = saveSystem.loadQuestionCataloguesFromJson();
43
- //Assert.IsInstanceOf<List<QuestionCatalogue>>(answer);
44
- Assert.AreEqual(answer, null);
45
- //should be null if there are no catalogues
+ Assert.IsInstanceOf<List<QuestionCatalogue>>(answer);
46
//should be of type List<QuestionCatalogues> if something is found in the foulder
47
48
0 commit comments