Skip to content

Commit

Permalink
Fix status code lest (#86)
Browse files Browse the repository at this point in the history
* Use correct statuscode for lest endepunkt

* Fix test
  • Loading branch information
tu55eladd committed Apr 26, 2023
1 parent c38ba6f commit 164c98d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void kanari() {
.port(port)
.put("http://localhost/veilarblest/api/informasjon/les?versjon={versjon}", "versjon1")
.then()
.statusCode(200);
.statusCode(204);
List<LestDto> lestDtos = RestAssured.given()
.port(port)
.get("http://localhost/veilarblest/api/aktivitetsplan/les?fnr={fnr}", "01010101010")
Expand Down

0 comments on commit 164c98d

Please sign in to comment.