Fix test
This commit is contained in:
parent
323d6e54a9
commit
95c78e4e4c
|
@ -17,6 +17,7 @@
|
||||||
package org.springframework.boot.actuate.endpoint;
|
package org.springframework.boot.actuate.endpoint;
|
||||||
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
|
@ -34,7 +35,7 @@ public class InfoEndpointCompatibilityTests {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void invoke() throws Exception {
|
public void invoke() throws Exception {
|
||||||
Info actual = getEndpointBean().invoke();
|
Map<String, Object> actual = getEndpointBean().invoke();
|
||||||
assertThat(actual.get("key1")).isEqualTo("value1");
|
assertThat(actual.get("key1")).isEqualTo("value1");
|
||||||
assertThat(actual.get("foo")).isEqualTo("bar");
|
assertThat(actual.get("foo")).isEqualTo("bar");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue