Skip to content

Commit

Permalink
fix issue in listDirectoryContents test (apache#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning authored May 18, 2024
1 parent d2c0c01 commit dd9e1a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ class FileAndResourceDirectivesSpec extends RoutingSpec with Inspectors with Ins
}

"listDirectoryContents" should {
val base = new File(getClass.getClassLoader.getResource("").toURI).getPath
val base = testRoot.getPath
new File(base, "subDirectory/emptySub").mkdir()
def eraseDateTime(s: String) = s.replaceAll("""\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d""", "xxxx-xx-xx xx:xx:xx")
val settings = RoutingSettings.default.withRenderVanityFooter(false)
Expand Down

0 comments on commit dd9e1a3

Please sign in to comment.