Skip to content

Commit 1fdb083

Browse files
committed
Polish
1 parent 3152971 commit 1fdb083

File tree

1 file changed

+3
-3
lines changed
  • spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/health

1 file changed

+3
-3
lines changed

spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/health/StatusTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -16,7 +16,7 @@
1616

1717
package org.springframework.boot.actuate.health;
1818

19-
import com.couchbase.client.deps.com.fasterxml.jackson.databind.ObjectMapper;
19+
import com.fasterxml.jackson.databind.ObjectMapper;
2020
import org.junit.jupiter.api.Test;
2121

2222
import static org.assertj.core.api.Assertions.assertThat;
@@ -72,7 +72,7 @@ void serializeWithJacksonReturnsValidJson() throws Exception {
7272
Status status = new Status("spring", "boot");
7373
ObjectMapper mapper = new ObjectMapper();
7474
String json = mapper.writeValueAsString(status);
75-
assertThat(json).isEqualTo("{\"code\":\"spring\",\"description\":\"boot\"}");
75+
assertThat(json).isEqualTo("{\"description\":\"boot\",\"status\":\"spring\"}");
7676
}
7777

7878
}

0 commit comments

Comments
 (0)