mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-07 17:59:02 +00:00
Fix test
This commit is contained in:
+2
-1
@@ -17,6 +17,7 @@
|
||||
package org.springframework.boot.actuate.endpoint;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.Map;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
@@ -34,7 +35,7 @@ public class InfoEndpointCompatibilityTests {
|
||||
|
||||
@Test
|
||||
public void invoke() throws Exception {
|
||||
Info actual = getEndpointBean().invoke();
|
||||
Map<String, Object> actual = getEndpointBean().invoke();
|
||||
assertThat(actual.get("key1")).isEqualTo("value1");
|
||||
assertThat(actual.get("foo")).isEqualTo("bar");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user