From 2ccec6d8081281a75dadbd32227218ab1f32fa1a Mon Sep 17 00:00:00 2001 From: LunarN0va Date: Wed, 12 Jun 2024 16:07:49 +0200 Subject: [PATCH] Fix cdn locations test not being tested --- .../avisi/structurizr/site/generatr/site/views/CDNTest.kt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/test/kotlin/nl/avisi/structurizr/site/generatr/site/views/CDNTest.kt b/src/test/kotlin/nl/avisi/structurizr/site/generatr/site/views/CDNTest.kt index 74a94ba2..c5a58e35 100644 --- a/src/test/kotlin/nl/avisi/structurizr/site/generatr/site/views/CDNTest.kt +++ b/src/test/kotlin/nl/avisi/structurizr/site/generatr/site/views/CDNTest.kt @@ -9,11 +9,10 @@ import org.junit.jupiter.api.Test import org.junit.jupiter.api.TestFactory class CDNTest { + val workspace = Workspace("workspace name", "") + val cdn = CDN(workspace) @TestFactory - fun `cdn locations`() { - val workspace = Workspace("workspace name", "") - val cdn = CDN(workspace) - + fun `cdn locations`() : List = listOf( cdn.bulmaCss() to "/css/bulma.min.css", cdn.katexJs() to "/dist/katex.min.js", @@ -34,7 +33,6 @@ class CDNTest { } } } - } @Test fun `usage of default cdn url`() {