Skip to content

Commit f717971

Browse files
committed
fix test case
1 parent 8629c54 commit f717971

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎src/test/kotlin/dartzee/screen/game/TestDartsGamePanel.kt‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,15 +290,14 @@ class TestDartsGamePanel : AbstractTest() {
290290
DartScoreTrigger(GameType.GOLF, 10) to MISS_DEV,
291291
)
292292

293-
val panel = TestGamePanel(animateMiss = false)
293+
val panel = TestGamePanel(animateMiss = true)
294294
val pt = makeSingleParticipant(insertPlayer(strategy = ""), panel.gameEntity.rowId)
295295
panel.startNewGame(listOf(pt))
296296

297297
panel.dartThrown(Dart(10, 1))
298298
flushEdt()
299299
panel.findChild<JLabel>("DodgyLabel") shouldBe null
300300

301-
panel.animateMiss = true
302301
panel.dartThrown(Dart(5, 1))
303302
flushEdt()
304303
panel.getChild<JLabel>("DodgyLabel").shouldBeVisible()

0 commit comments

Comments
 (0)