fix wrong error messages in integration tests

This commit is contained in:
Sebastian Sdorra
2012-02-05 10:31:23 +01:00
parent 4396a4b96d
commit e18e280256
11 changed files with 38 additions and 39 deletions

View File

@@ -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();
}