From 39aedbad12d8796d1c2f7a8ab3553ee227724590 Mon Sep 17 00:00:00 2001 From: Roar Date: Tue, 7 Apr 2026 08:47:51 +0200 Subject: [PATCH] Updated DatabaseManagerTest Changed getDescription test to use getURL instead. --- .../java/ntnu/systemutvikling/team6/models/CharityTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpmehelpapplication/src/test/java/ntnu/systemutvikling/team6/models/CharityTest.java b/helpmehelpapplication/src/test/java/ntnu/systemutvikling/team6/models/CharityTest.java index e382fe5..8bcc674 100644 --- a/helpmehelpapplication/src/test/java/ntnu/systemutvikling/team6/models/CharityTest.java +++ b/helpmehelpapplication/src/test/java/ntnu/systemutvikling/team6/models/CharityTest.java @@ -37,7 +37,7 @@ public void testGettingNameShouldWork() { @Test public void testGettingDescriptionShouldWork() { - assertEquals("Les mer her: www.aaaa.com", charity.getDescription()); + assertEquals("www.aaaa.com", charity.getURL()); } /** Getter and setter for IsVerified should be able to switch between true and false */