Skip to content

Commit

Permalink
LDEV-4356 - fix test case to reflect the new interface of the class E…
Browse files Browse the repository at this point in the history
…xtensionResourceFilter
  • Loading branch information
michaeloffner committed Sep 9, 2024
1 parent 1de0597 commit 23c7ad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/general/Resources.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ private function testResourceListening(res) localMode=true {
assertEquals("s,ss,sss.txt",listSort(arrayToList(children),"textnoCase"));

// filter
filter=createObject("java","lucee.commons.io.res.filter.ExtensionResourceFilter").init("txt",false);
filter=createObject("java","lucee.commons.io.res.filter.ExtensionResourceFilter").init(false,["txt"]);
children=res.list(filter);
assertEquals("sss.txt",listSort(arrayToList(children),"textnoCase"));
}
Expand Down

0 comments on commit 23c7ad0

Please sign in to comment.