mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-02-08 08:21:54 +01:00
Fix tests
This commit is contained in:
parent
b4615697fc
commit
7050973b11
@ -141,6 +141,7 @@ public class IslandCacheTest extends AbstractCommonSetup {
|
||||
// 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
|
||||
|
Loading…
Reference in New Issue
Block a user