From b703ecfc2f3efe4568449dff60307eccf7f063d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Canonica?= Date: Sat, 4 Jul 2020 07:27:05 +0200 Subject: [PATCH] Fix event sourcing tests compilation --- .gitignore | 1 + EventSourcingCQRS.Tests/GameShould.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 947ecc1..d33c0c8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ bin/ obj/ +.vs/ *.db \ No newline at end of file diff --git a/EventSourcingCQRS.Tests/GameShould.cs b/EventSourcingCQRS.Tests/GameShould.cs index d0d76fc..02a36c2 100644 --- a/EventSourcingCQRS.Tests/GameShould.cs +++ b/EventSourcingCQRS.Tests/GameShould.cs @@ -18,7 +18,7 @@ public void StartNewGame() var gameStarted = Game.StartNew(questionsRepository, "test", new [] { "Sports", "Science" }); Check.That(gameStarted.Name).IsEqualTo("test"); - Check.That(gameStarted.GameCategories.Select(x => (x.Name, x.Questions.Count))) + Check.That(gameStarted.GameCategories.Select(x => (x.Name, x.Questions.Count()))) .ContainsExactly(("Sports", 50), ("Science", 50)); }