From 9d28f00a1ea7ad2658d965febb10d4312d3df54b Mon Sep 17 00:00:00 2001 From: luigi-borriello00 Date: Tue, 19 Sep 2023 19:23:08 +0200 Subject: [PATCH] refactor(test): replace null with empty instance --- src/test/scala/scatan/model/ApplicationStateTest.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/scala/scatan/model/ApplicationStateTest.scala b/src/test/scala/scatan/model/ApplicationStateTest.scala index 991f504e..56e7daba 100644 --- a/src/test/scala/scatan/model/ApplicationStateTest.scala +++ b/src/test/scala/scatan/model/ApplicationStateTest.scala @@ -6,7 +6,7 @@ import scatan.Pages class ApplicationStateTest extends BaseTest: "An ApplicationState" should "exists" in { - val applicationState: ApplicationState = null + val applicationState: ApplicationState = ApplicationState(Option.empty) } it should "not have a game initially" in {