Update SpectateLoginServiceTest.java

This commit is contained in:
Bagietas 2023-09-09 09:35:12 +02:00 committed by GitHub
parent 3cee02bcb9
commit 79b80c02a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ import static org.junit.Assert.*;
import static org.mockito.Mockito.*;
/**
* Test for {@link CommonService}.
* Test for {@link SpectateLoginService}.
*/
@RunWith(MockitoJUnitRunner.class)
public class SpectateLoginServiceTest {
@ -63,7 +63,7 @@ public class SpectateLoginServiceTest {
@Test
public void testUpdateTargetNoStand() {
when(mockPlayer.isDead()).thenReturn(false); // Ensure the player is not dead
when(mockPlayer.isDead()).thenReturn(false);
spectateLoginService.updateTarget(mockPlayer);