From 73f4ed5b0f83caca024695f61263f3cb53b2dd4c Mon Sep 17 00:00:00 2001 From: "LAPTOP-6F19PDN9\\Ijaaz" Date: Wed, 20 Mar 2024 23:37:31 +0800 Subject: [PATCH] Fix flowertest --- src/test/java/florizz/objects/FlowerTest.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/test/java/florizz/objects/FlowerTest.java b/src/test/java/florizz/objects/FlowerTest.java index e01011f230..33cc532f95 100644 --- a/src/test/java/florizz/objects/FlowerTest.java +++ b/src/test/java/florizz/objects/FlowerTest.java @@ -12,9 +12,4 @@ void testGetName() { assertEquals("Orchid",flower.getFlowerName()); } - @Test - void testToString() { - Flower flower = new Flower("Rose","Red","Valentines Day"); - assertEquals("Name: Rose\nColour: Red\nOccasion: Valentines Day\n",flower.toString()); - } }