the branch endpoint should return a not found error with context, if the branch does not exists

This commit is contained in:
Sebastian Sdorra
2019-04-03 17:10:22 +02:00
parent 3122ec5fb0
commit 7bbafee1ed
2 changed files with 5 additions and 3 deletions

View File

@@ -129,6 +129,7 @@ public class BranchRootResourceTest extends RepositoryTestBase {
dispatcher.invoke(request, response);
assertEquals(404, response.getStatus());
assertEquals("application/vnd.scmm-error+json;v=2", response.getOutputHeaders().getFirst("Content-Type"));
}
@Test