Skip to content

Commit

Permalink
Fix cdn locations test not being tested
Browse files Browse the repository at this point in the history
  • Loading branch information
LunarN0va committed Jun 12, 2024
1 parent 205ca0e commit 2ccec6d
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<DynamicTest> =
listOf(
cdn.bulmaCss() to "/css/bulma.min.css",
cdn.katexJs() to "/dist/katex.min.js",
Expand All @@ -34,7 +33,6 @@ class CDNTest {
}
}
}
}

@Test
fun `usage of default cdn url`() {
Expand Down

0 comments on commit 2ccec6d

Please sign in to comment.