From 47f621d14968e6572ed87ba7af760ec5f18b4849 Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Thu, 31 May 2018 14:54:23 -0400 Subject: [PATCH] Fix test due to API changes in spring cloud config --- .../java/demo/BootstrapDecryptionClientApplicationTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config-client-decrypt/src/test/java/demo/BootstrapDecryptionClientApplicationTests.java b/config-client-decrypt/src/test/java/demo/BootstrapDecryptionClientApplicationTests.java index 64f5dfd..051aed2 100644 --- a/config-client-decrypt/src/test/java/demo/BootstrapDecryptionClientApplicationTests.java +++ b/config-client-decrypt/src/test/java/demo/BootstrapDecryptionClientApplicationTests.java @@ -1,5 +1,6 @@ package demo; +import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; @@ -25,7 +26,7 @@ public class BootstrapDecryptionClientApplicationTests { @Test public void contextLoads() throws Exception { - assertEquals("http://localhost:8888", this.config.getUri()); + assertArrayEquals(new String[]{"http://localhost:8888"}, this.config.getUri()); assertNotNull(this.locator); }