mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-22 02:35:21 +01:00
Merge branch 'develop'
This commit is contained in:
commit
e5469b7750
@ -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