Skip to content

Commit

Permalink
improve test case
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Jul 18, 2024
1 parent 8d4778e commit 49b84a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/tickets/LDEV_2902.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ component extends = "org.lucee.cfml.test.LuceeTestCase" {
template : "#uri#\test.cfm",
forms : { Scene = 2 }
);
expect(trim(result.filecontent)).toBe("key [TIMEZONE] doesn't exist");
expect(trim(result.filecontent)).toBe("The key [TIMEZONE] does not exist");
});

it( title = "Checking datasource configured Empty timezone", body = function( currentSpec ){
Expand Down
1 change: 1 addition & 0 deletions test/tickets/LDEV_3054.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ component extends = "org.lucee.cfml.test.LuceeTestCase" {
local.result = _InternalRequest(
template : "#uri#\test.cfm"
);
var c=trim(result.filecontent);
expect( (find("true,The key [T]",c)>0) || (find("true,variable [T] doesn't exist",c)>0) ).toBeTrue();
});
});
Expand Down

0 comments on commit 49b84a8

Please sign in to comment.