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 2e21103 commit 61c6979
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 61c6979

Please sign in to comment.