Skip to content

Commit

Permalink
update test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Feb 28, 2024
1 parent dc923af commit 1a1a5d9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions tests/ImageCrop.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ component extends="org.lucee.cfml.test.LuceeTestCase" labels="image" {

public void function testImage() localmode="true"{
ImageCrop(image,10,10,100,100);
}

}
}
</cfscript>
2 changes: 1 addition & 1 deletion tests/LDEV0898.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
---><cfscript>
component extends="org.lucee.cfml.test.LuceeTestCase" labels="image" {

variables.imageDir=GetDirectoryFromPath(GetCurrentTemplatePath())&"image/";
variables.imageDir=GetDirectoryFromPath(GetCurrentTemplatePath())&"images/";
variables.tmpDir=GetDirectoryFromPath(GetCurrentTemplatePath())&"temp/";

public void function test() {
Expand Down
Binary file added tests/images/image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1a1a5d9

Please sign in to comment.