From a1223c767faf4bf5e3b2f79b8d2839beb27a4895 Mon Sep 17 00:00:00 2001 From: Shivam Date: Sun, 10 Sep 2023 12:31:41 +1000 Subject: [PATCH] fixed 'fixed' failing tests --- .../com/csse3200/game/entities/factories/TowerFactoryTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/src/test/com/csse3200/game/entities/factories/TowerFactoryTest.java b/source/core/src/test/com/csse3200/game/entities/factories/TowerFactoryTest.java index 302083ace..81596fca0 100644 --- a/source/core/src/test/com/csse3200/game/entities/factories/TowerFactoryTest.java +++ b/source/core/src/test/com/csse3200/game/entities/factories/TowerFactoryTest.java @@ -172,7 +172,7 @@ public void testWeaponTowerCombatStatsComponentAndCostComponent() { "Fire Tower cost must 10"); assertEquals(10, stunTower.getComponent(CombatStatsComponent.class).getHealth(), "Stun Tower health must be 10"); - assertEquals(5, stunTower.getComponent(CombatStatsComponent.class).getBaseAttack(), + assertEquals(10, stunTower.getComponent(CombatStatsComponent.class).getBaseAttack(), "Stun Tower base attack must be 10"); assertEquals(10, fireTower.getComponent(CostComponent.class).getCost(), "Stun Tower cost must 10");