Skip to content

Commit 3c1594e

Browse files
committed
something missing?
1 parent 4b27a71 commit 3c1594e

File tree

1 file changed

+2
-4
lines changed
  • LearningForDummies/Assets/Editor/Tests

1 file changed

+2
-4
lines changed

LearningForDummies/Assets/Editor/Tests/Test.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,11 @@ public void loadPlayerProfileReturnsNull(string profileName)
3636
}
3737

3838
[Test]
39-
public void loadCatalougesReturnsNull()
39+
public void loadCatalougesReturnsList()
4040
{
4141
SaveSystem saveSystem = new SaveSystem();
4242
var answer = saveSystem.loadQuestionCataloguesFromJson();
43-
//Assert.IsInstanceOf<List<QuestionCatalogue>>(answer);
44-
Assert.AreEqual(answer, null);
45-
//should be null if there are no catalogues
43+
Assert.IsInstanceOf<List<QuestionCatalogue>>(answer);
4644
//should be of type List<QuestionCatalogues> if something is found in the foulder
4745
}
4846

0 commit comments

Comments
 (0)