Skip to content

Commit

Permalink
cleanup test
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Jan 28, 2025
1 parent cc3f6b9 commit 3fb5d12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/functions/ImageDrawBeveledRect.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ component extends = "org.lucee.cfml.test.LuceeTestCase"{
describe( "test case for ImageDrawBeveledRect", function() {

it(title = "Checking with ImageDrawBeveledRect", body = function( currentSpec ){
imgDraw = imagenew("",150,150,"rgb","149c82");
var imgDraw = imagenew("",150,150,"rgb","149c82");
imageDrawBeveledRect(imgDraw,30,30,40,30,"yes");
cfimage(action = "write", source = imgDraw, destination = path&'imgDrawimg.jpg', overwrite = "yes");
expect(fileexists(path&'imgDrawimg.jpg')).tobe("true");
});

it(title = "Checking with image.drawBeveledRect()", body = function( currentSpec ){
img = imageRead("https://pbs.twimg.com/profile_images/1037639083135250433/fREb9ZhM_400x400.jpg");
it(title = "Checking with image.drawBeveledRect()", skip=true, body = function( currentSpec ){
var img = Imagenew("",150,150,"rgb","149c82");
img.DrawBeveledRect(100,40,50,30,"yes","yes");
cfimage(action = "write", source = img, destination = path&'objDrawbevelrect.jpg', overwrite = "yes");
expect(fileexists(path&'objDrawbevelrect.jpg')).tobe("true");
Expand Down

0 comments on commit 3fb5d12

Please sign in to comment.