Skip to content

Commit 10df092

Browse files
committed
Changed the go.cd.elastic-agent.get-icon call to use underscore instead of hyphens.
1 parent 1db8852 commit 10df092

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/cd/go/contrib/elasticagents/docker/executors/GetPluginSettingsIconExecutorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public void rendersIconInBase64() throws Exception {
3434
GoPluginApiResponse response = new GetPluginSettingsIconExecutor().execute();
3535
HashMap<String, String> hashMap = new Gson().fromJson(response.responseBody(), HashMap.class);
3636
assertThat(hashMap.size(), is(2));
37-
assertThat(hashMap.get("content-type"), is("image/svg+xml"));
37+
assertThat(hashMap.get("content_type"), is("image/svg+xml"));
3838
assertThat(Util.readResourceBytes("/docker-plain.svg"), is(Base64.decodeBase64(hashMap.get("data"))));
3939
}
4040
}

0 commit comments

Comments
 (0)