diff --git a/io/src/test/scala/laika/io/TreeTransformerSpec.scala b/io/src/test/scala/laika/io/TreeTransformerSpec.scala index 13650d04d..c2a06d550 100644 --- a/io/src/test/scala/laika/io/TreeTransformerSpec.scala +++ b/io/src/test/scala/laika/io/TreeTransformerSpec.scala @@ -412,7 +412,7 @@ class TreeTransformerSpec extends CatsEffectSuite docs( (Root / "doc1.fo", result) ), - staticDocuments = TestTheme.staticASTPaths, + staticDocuments = TestTheme.staticFoPaths, outputContext = OutputContext(XSLFO) ) ) diff --git a/io/src/test/scala/laika/render/fo/TestTheme.scala b/io/src/test/scala/laika/render/fo/TestTheme.scala index df24d6425..82989c5b4 100644 --- a/io/src/test/scala/laika/render/fo/TestTheme.scala +++ b/io/src/test/scala/laika/render/fo/TestTheme.scala @@ -46,18 +46,23 @@ object TestTheme { lazy val htmlTemplate = TemplateRoot.fallback - val staticASTPaths = Seq( - Root / "helium" / "fonts" / "icofont.woff", - Root / "helium" / "fonts" / "icofont.woff2" - ) - - val staticHTMLPaths = Seq( + val fontPaths = Seq( Root / "laika" / "fonts" / "Lato-Regular.ttf", Root / "laika" / "fonts" / "Lato-Italic.ttf", Root / "laika" / "fonts" / "Lato-Bold.ttf", Root / "laika" / "fonts" / "Lato-BoldItalic.ttf", Root / "laika" / "fonts" / "FiraMono-Medium.otf", - Root / "laika" / "fonts" / "icofont.ttf", + Root / "laika" / "fonts" / "icofont.ttf" + ) + + val staticASTPaths = Seq( + Root / "helium" / "fonts" / "icofont.woff", + Root / "helium" / "fonts" / "icofont.woff2" + ) + + val staticFoPaths = fontPaths ++ staticASTPaths + + val staticHTMLPaths = fontPaths ++ Seq( Root / "helium" / "site" / "laika-helium.js", Root / "helium" / "site" / "landing-page.css", Root / "helium" / "site" / "icofont.min.css",