Skip to content

Commit

Permalink
refactor(test): replace null with empty instance
Browse files Browse the repository at this point in the history
  • Loading branch information
luigi-borriello00 committed Sep 19, 2023
1 parent 5fd2f27 commit 9d28f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/scala/scatan/model/ApplicationStateTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9d28f00

Please sign in to comment.