From ab5bacd1f6f0347a0c90429279e1fa43748d15a4 Mon Sep 17 00:00:00 2001 From: AdrianBalunan Date: Fri, 13 Mar 2026 19:07:17 +0100 Subject: [PATCH] Fix: Dynamic-ish loader --- .../ntnu/systemutvikling/team6/models/DonationTest.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/helpmehelpapplication/src/test/java/ntnu/systemutvikling/team6/models/DonationTest.java b/helpmehelpapplication/src/test/java/ntnu/systemutvikling/team6/models/DonationTest.java index 9f4121d..d0694b4 100644 --- a/helpmehelpapplication/src/test/java/ntnu/systemutvikling/team6/models/DonationTest.java +++ b/helpmehelpapplication/src/test/java/ntnu/systemutvikling/team6/models/DonationTest.java @@ -18,12 +18,13 @@ class DonationTest { // -- Setup -- @BeforeEach public void setup() { - charity = new Charity("1212", "Charity1", "Something Somewhere Somehow", "Cancer", false, "unverified"); - + charity = + new Charity( + "1212", "Charity1", "Something Somewhere Somehow", "Cancer", false, "unverified"); + user = new User("Name", "Valid@gmail.com", "123", Role.NORMAL_USER, new Settings(), new Inbox()); - - } + } // --- Tests --- @Test