Skip to content

Commit

Permalink
Redaksjonell endring for å trigge 723 (#1371)
Browse files Browse the repository at this point in the history
  • Loading branch information
jolarsen authored Aug 4, 2024
1 parent 2e15c89 commit 2ddb21b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ArbeidsfordelingRestTest {
void test_request() {
var request = ArbeidsfordelingRequest.ny().medTema("FOR").medOppgavetype("BEH_SAK_VL").medBehandlingstype("ae0028").build();

String json = DefaultJsonMapper.toJson(request);
var json = DefaultJsonMapper.toJson(request);
ArbeidsfordelingRequest roundTripped = DefaultJsonMapper.fromJson(json, ArbeidsfordelingRequest.class);
assertThat(roundTripped).isNotNull();
assertThat(roundTripped.tema()).isEqualTo("FOR");
Expand All @@ -28,7 +28,7 @@ void test_request() {
@Test
void test_response() throws Exception {
var respons = new ArbeidsfordelingResponse("4806", "Drammen", "Aktiv", "FPY");
String json = WRITER.writeValueAsString(respons);
var json = WRITER.writeValueAsString(respons);
ArbeidsfordelingResponse roundTripped = DefaultJsonMapper.fromJson(json, ArbeidsfordelingResponse.class);
assertThat(roundTripped).isNotNull();
assertThat(roundTripped.enhetNr()).isEqualTo("4806");
Expand Down

0 comments on commit 2ddb21b

Please sign in to comment.