From 03ef30c6a882f3ede0537086b57f65c8055b14af Mon Sep 17 00:00:00 2001 From: cindyle1 Date: Mon, 11 Sep 2023 14:51:54 +1000 Subject: [PATCH] Fixed typo in firework tests --- .../game/entities/factories/ProjectileFactoryTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/core/src/test/com/csse3200/game/entities/factories/ProjectileFactoryTest.java b/source/core/src/test/com/csse3200/game/entities/factories/ProjectileFactoryTest.java index 1065562d4..9c4129a40 100644 --- a/source/core/src/test/com/csse3200/game/entities/factories/ProjectileFactoryTest.java +++ b/source/core/src/test/com/csse3200/game/entities/factories/ProjectileFactoryTest.java @@ -286,14 +286,14 @@ public void testFireworkProjectileAnimationRenderComponent() { Entity fireworkProjectile = ProjectileFactory.createFireworks( PhysicsLayer.TOWER, new Vector2(0.1f, 0.1f), new Vector2(1f, 1f)); assertNotNull(fireworkProjectile.getComponent(AnimationRenderComponent.class), - "Slow Projectile does not have AnimationRenderComponent"); + "Fire Projectile does not have AnimationRenderComponent"); } @Test public void testFireworkProjectileAnimationController() { Entity fireworkProjectile = ProjectileFactory.createFireworks( PhysicsLayer.TOWER, new Vector2(0.1f, 0.1f), new Vector2(1f, 1f)); assertNotNull(fireworkProjectile.getComponent(FireworkAnimationController.class), - "Slow Projectile does not have Animation Controller"); + "Fire Projectile does not have Animation Controller"); } }