mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-23 02:35:11 +01:00
Fix failing test
This commit is contained in:
parent
e775e415f2
commit
43b2375e2a
@ -159,7 +159,7 @@ public class BukkitServiceTest {
|
||||
@Test
|
||||
public void shouldRunTaskDirectly() {
|
||||
// given
|
||||
given(settings.getProperty(PluginSettings.USE_ASYNC_TASKS)).willReturn(false);
|
||||
given(server.isPrimaryThread()).willReturn(true);
|
||||
bukkitService.reload(settings);
|
||||
BukkitService spy = Mockito.spy(bukkitService);
|
||||
Runnable task = mock(Runnable.class);
|
||||
|
Loading…
Reference in New Issue
Block a user