mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-30 19:29:11 +01:00
fix wrong error messages in integration tests
This commit is contained in:
@@ -127,7 +127,7 @@ public class IntegrationTestUtil
|
||||
User user = state.getUser();
|
||||
|
||||
assertNotNull(user);
|
||||
assertEquals(user.getName(), "scmadmin");
|
||||
assertEquals("scmadmin", user.getName());
|
||||
assertTrue(user.isAdmin());
|
||||
|
||||
Collection<Type> types = state.getRepositoryTypes();
|
||||
@@ -254,7 +254,7 @@ public class IntegrationTestUtil
|
||||
ClientResponse response = wr.get(ClientResponse.class);
|
||||
|
||||
assertNotNull(response);
|
||||
assertEquals(response.getStatus(), 200);
|
||||
assertEquals(200, response.getStatus());
|
||||
response.close();
|
||||
client.destroy();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user