Skip to content

Commit

Permalink
Updated DonationDAOTest
Browse files Browse the repository at this point in the history
Temp fix to make tests work by using a valid charity URL.
  • Loading branch information
roaraf committed Apr 8, 2026
1 parent e167e51 commit d2174e4
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ void setUp() {
DatabaseManager manager = new DatabaseManager();
manager.createTables();

charity = new Charity("123456", "https://test.org", "Test Charity", true, "approved");
charity =
new Charity(
"123456",
"https://www.innsamlingskontrollen.no/organisasjoner/adra-norge-adventist-development-and-relief-agency-norway/",
"Test Charity",
true,
"approved");

manager.addAPIDataToTable(java.util.List.of(charity));
}
Expand Down

0 comments on commit d2174e4

Please sign in to comment.