Skip to content

Commit

Permalink
oppgave -> oppgaver
Browse files Browse the repository at this point in the history
  • Loading branch information
vegardlu committed Feb 20, 2024
1 parent 4e3d22d commit dc4e025
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class EuxOppgaveClient(
fun tildelEnhetsnr(journalpostId: String, enhetsnr: String) {
euxOppgaveRestTemplate
.post()
.uri("${euxOppgaveUrl}/api/v1/oppgave/tildelEnhetsnr")
.uri("${euxOppgaveUrl}/api/v1/oppgaver/tildelEnhetsnr")
.body(TildelEnhetsnr(journalpostId = journalpostId, tildeltEnhetsnr = enhetsnr))
.contentType(APPLICATION_JSON)
.accept(MediaType.ALL)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class RinasakerTest : AbstractOppgaverApiImplTest() {
assertThat(createResponse.statusCode.value()).isEqualTo(200)
assertThat(requestBodies["/rest/journalpostapi/v1/journalpost/453802638/feilregistrer/settStatusAvbryt"])
.isNotNull()
assertThat(requestBodies["/api/v1/oppgave/tildelEnhetsnr"])
assertThat(requestBodies["/api/v1/oppgaver/tildelEnhetsnr"])
.isNotNull()
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fun mockResponsePost(request: RecordedRequest, body: String) =
"/oauth2/v2.0/token" -> tokenResponse()
"/graphql" -> safResponse(body)
"/api/v1/oppgaver" -> oppgaverResponse()
"/api/v1/oppgave/tildelEnhetsnr" -> tildelEnhetsnrResponse(body)
"/api/v1/oppgaver/tildelEnhetsnr" -> tildelEnhetsnrResponse(body)
else -> defaultResponse()
}

Expand Down

0 comments on commit dc4e025

Please sign in to comment.