mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 01:15:44 +01:00
fix wrong status code check
This commit is contained in:
@@ -124,7 +124,7 @@ public class RepositoryITUtil
|
|||||||
wr = createResource(client, "repositories/".concat(id));
|
wr = createResource(client, "repositories/".concat(id));
|
||||||
response = wr.get(ClientResponse.class);
|
response = wr.get(ClientResponse.class);
|
||||||
assertNotNull(response);
|
assertNotNull(response);
|
||||||
assertEquals(204, response.getStatus());
|
assertEquals(404, response.getStatus());
|
||||||
response.close();
|
response.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user