restructured folders and files
This commit is contained in:
@@ -6,7 +6,7 @@ import org.junit.jupiter.api.Test;
|
||||
|
||||
import com.vaessl.app.exception.EmptyCredentialsException;
|
||||
import static com.vaessl.app.Mockdata.*;
|
||||
import static com.vaessl.app.connection.ServiceType.HOMEBOX;
|
||||
import static com.vaessl.app.shared.ServiceType.HOMEBOX;
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
class HomeboxConnectionProviderTest {
|
||||
@@ -15,8 +15,7 @@ class HomeboxConnectionProviderTest {
|
||||
|
||||
@Test
|
||||
void checkCredentialsShouldThrowExceptionWhenFieldsAreMissing() {
|
||||
ConnectionRequest request =
|
||||
new ConnectionRequest(MOCK_URL, HOMEBOX, null, null, false);
|
||||
ConnectionRequest request = new ConnectionRequest(MOCK_URL, HOMEBOX, null, null, false);
|
||||
|
||||
EmptyCredentialsException exception = assertThrows(EmptyCredentialsException.class, () -> {
|
||||
provider.checkCredentials(request);
|
||||
|
||||
Reference in New Issue
Block a user