Skip to content

Commit

Permalink
Redaksjonell endring for å trigge 724
Browse files Browse the repository at this point in the history
  • Loading branch information
jolarsen committed Aug 4, 2024
1 parent 2ddb21b commit 02918db
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();

var json = DefaultJsonMapper.toJson(request);
String 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");
var json = WRITER.writeValueAsString(respons);
String 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 02918db

Please sign in to comment.