From 3b78d634399c4d76f604a58a15395bd8f78a2cf3 Mon Sep 17 00:00:00 2001 From: cindyle1 Date: Fri, 29 Sep 2023 11:14:46 +1000 Subject: [PATCH] Fixed error in test files --- .../game/entities/factories/MobBossFactoryTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/core/src/test/com/csse3200/game/entities/factories/MobBossFactoryTest.java b/source/core/src/test/com/csse3200/game/entities/factories/MobBossFactoryTest.java index 685774993..231823921 100644 --- a/source/core/src/test/com/csse3200/game/entities/factories/MobBossFactoryTest.java +++ b/source/core/src/test/com/csse3200/game/entities/factories/MobBossFactoryTest.java @@ -150,19 +150,19 @@ public void testDemonAnimationController() { } @Test public void testPatrickCreation() { - Entity Patrick = MobBossFactory.createPatrickBoss(); + Entity Patrick = MobBossFactory.createPatrickBoss(3000); assertNotNull(Patrick); } @Test public void testPatrickAnimationRenderComponent() { - Entity Patrick = MobBossFactory.createPatrickBoss(); + Entity Patrick = MobBossFactory.createPatrickBoss(3000); assertNotNull(Patrick.getComponent(AnimationRenderComponent.class), "Patrick does not have an AnimationRenderComponent"); } @Test public void testPatrickAnimationController() { - Entity Patrick = MobBossFactory.createPatrickBoss(); + Entity Patrick = MobBossFactory.createPatrickBoss(3000); assertNotNull(Patrick.getComponent(PatrickAnimationController.class), "Patrick does not have an Animation Controller"); }