trying to fix nullpointerexception
This commit is contained in:
parent
64007d1b5c
commit
b1343bbd40
1 changed files with 0 additions and 6 deletions
|
@ -8,7 +8,6 @@ import ch.usi.inf.sa4.sanmarinoes.smarthut.models.EagerUserRepository;
|
|||
import ch.usi.inf.sa4.sanmarinoes.smarthut.models.User;
|
||||
import java.security.Principal;
|
||||
import java.util.List;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.DisplayName;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
|
@ -33,11 +32,6 @@ public class GuestControllerTests {
|
|||
user.setId(12L);
|
||||
}
|
||||
|
||||
@BeforeEach
|
||||
public void setup() {
|
||||
guestController = new GuestController();
|
||||
}
|
||||
|
||||
@DisplayName("Check that the list is empty when we have no hosts/guests")
|
||||
@Test
|
||||
public void findAllEmptyTest() {
|
||||
|
|
Loading…
Reference in a new issue