diff --git a/build.gradle b/build.gradle index 2c7187e..eb32e27 100644 --- a/build.gradle +++ b/build.gradle @@ -9,12 +9,12 @@ repositories { } dependencies { - api 'com.structurizr:structurizr-client:1.26.1' - api 'com.structurizr:structurizr-import:1.5.0' + api 'com.structurizr:structurizr-client:1.27.0' + api 'com.structurizr:structurizr-import:1.6.0' - testImplementation 'org.codehaus.groovy:groovy-jsr223:3.0.16' + testImplementation 'org.codehaus.groovy:groovy-jsr223:3.0.19' testImplementation 'org.jetbrains.kotlin:kotlin-scripting-jsr223:1.8.10' - testImplementation 'org.jruby:jruby-core:9.4.2.0' + testImplementation 'org.jruby:jruby-core:9.4.4.0' testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.9.2' testImplementation 'org.junit.jupiter:junit-jupiter-params:5.9.2' diff --git a/src/test/java/com/structurizr/dsl/DslTests.java b/src/test/java/com/structurizr/dsl/DslTests.java index 1c11091..6d86bc4 100644 --- a/src/test/java/com/structurizr/dsl/DslTests.java +++ b/src/test/java/com/structurizr/dsl/DslTests.java @@ -913,7 +913,7 @@ void test_imageViews_ViaFiles() throws Exception { ImageView mermaidView = (ImageView)workspace.getViews().getViewWithKey("mermaid"); assertEquals("diagram.mmd", mermaidView.getTitle()); - assertEquals("http://localhost:8888/img/eyAiY29kZSI6ImZsb3djaGFydCBURFxuICAgIFN0YXJ0IC0tPiBTdG9wIiwgIm1lcm1haWQiOnsidGhlbWUiOiJkZWZhdWx0In19?type=png", mermaidView.getContent()); + assertEquals("http://localhost:8888/img/Zmxvd2NoYXJ0IFRECiAgICBTdGFydCAtLT4gU3RvcA==?type=png", mermaidView.getContent()); assertEquals("image/png", mermaidView.getContentType()); ImageView krokiView = (ImageView)workspace.getViews().getViewWithKey("kroki"); @@ -942,7 +942,7 @@ void test_imageViews_ViaUrls() throws Exception { ImageView mermaidView = (ImageView)workspace.getViews().getViewWithKey("mermaid"); assertEquals("diagram.mmd", mermaidView.getTitle()); - assertEquals("http://localhost:8888/svg/eyAiY29kZSI6ImZsb3djaGFydCBURFxuICAgIFN0YXJ0IC0tPiBTdG9wIiwgIm1lcm1haWQiOnsidGhlbWUiOiJkZWZhdWx0In19", mermaidView.getContent()); + assertEquals("http://localhost:8888/svg/Zmxvd2NoYXJ0IFRECiAgICBTdGFydCAtLT4gU3RvcA==", mermaidView.getContent()); assertEquals("image/svg+xml", mermaidView.getContentType()); ImageView krokiView = (ImageView)workspace.getViews().getViewWithKey("kroki");