Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Sep 1, 2024
1 parent b461569 commit 7050973
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ public void setUp() throws Exception {
// database must be mocked here
db = mock(Database.class);
when(db.loadObject("uniqueId")).thenReturn(island);
when(db.objectExists(anyString())).thenReturn(true);
when(db.saveObjectAsync(any())).thenReturn(CompletableFuture.completedFuture(true));

// New cache
Expand Down

0 comments on commit 7050973

Please sign in to comment.