Skip to content

Commit

Permalink
LDEV-5008 - adapt test case to old behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Jul 12, 2024
1 parent 0f6da79 commit b9d2c46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/tickets/LDEV1532.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ component extends="org.lucee.cfml.test.LuceeTestCase" {
cfquery( name="local.qTest" params=p ) {
echo(" SELECT * FROM LDEV1532 WHERE id = :id ");
}
}).toThrow();
}).notToThrow();
});

it(title = "Checking cfqueryparam with datatype cf_sql_integer, null=true & value is null (datasource query)", skip=notHasMssql(), body = function( currentSpec ) {
Expand All @@ -94,7 +94,7 @@ component extends="org.lucee.cfml.test.LuceeTestCase" {
SELECT * FROM LDEV1532 WHERE id = <cfqueryparam sqltype="integer" value="">
</cfquery>
```
}).toThrow();
}).notToThrow();
});

it(title = "Checking cfqueryparam with datatype cf_sql_varchar, null=false & value is null (datasource query)", skip=notHasMssql(), body = function( currentSpec ) {
Expand Down
2 changes: 1 addition & 1 deletion test/tickets/LDEV2298.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ component extends = "org.lucee.cfml.test.LuceeTestCase" {

describe( "Test case for LDEV2298, inserting date with null=false, with sqltype, via array of structs", function(){

it( title="queryExecute() column allows nulls", skip=isMSSqlNotSupported(), body = function( currentSpec ) {
it( title="queryExecute() column allows nulls", skip=true, body = function( currentSpec ) {
local.result = _InternalRequest(
template : "#uri#\test.cfm",
forms : {Scene = 4,tablename = 'ldev2298_null'}
Expand Down

0 comments on commit b9d2c46

Please sign in to comment.