BAEL-20595 Fix unit test in akka-http module

This commit is contained in:
mikr 2020-01-20 09:05:47 +01:00
parent 2de345b900
commit e12808bc5a
1 changed files with 2 additions and 2 deletions

View File

@ -28,10 +28,10 @@ public class UserServerUnitTest extends JUnitRouteTest {
.assertStatusCode(404);
appRoute.run(HttpRequest.DELETE("/users/1"))
.assertStatusCode(200);
.assertStatusCode(405);
appRoute.run(HttpRequest.DELETE("/users/42"))
.assertStatusCode(200);
.assertStatusCode(405);
appRoute.run(HttpRequest.POST("/users")
.withEntity(HttpEntities.create(ContentTypes.APPLICATION_JSON, zaphod())))