Skip to content

Commit

Permalink
enable orm tests for 5.4 updates
Browse files Browse the repository at this point in the history
these tests now pass with lucee/extension-hibernate#37
  • Loading branch information
zspitzer committed Jun 3, 2023
1 parent 376dc68 commit fbd3a4a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions test/tickets/LDEV4067.cfc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
component extends="org.lucee.cfml.test.LuceeTestCase" labels="orm" skip=true{
component extends="org.lucee.cfml.test.LuceeTestCase" labels="orm" {
function beforeAll() {
variables.uri = createURI("LDEV4067");
}
Expand Down Expand Up @@ -33,28 +33,28 @@ component extends="org.lucee.cfml.test.LuceeTestCase" labels="orm" skip=true{
);
expect(trim(result.filecontent)).toBe("Michael");
});
it( title="checking this scope calling from closure with ORM entity", body=function( currentSpec ) {
it( title="checking this scope calling from closure with ORM entity", skip="true", body=function( currentSpec ) {
local.result = _InternalRequest(
template : "#uri#\LDEV4067.cfm",
forms = {scene:5}
);
expect(trim(result.filecontent)).toBe("Michael");
});
it( title="checking variables scope calling from closure with ORM entity", body=function( currentSpec ) {
it( title="checking variables scope calling from closure with ORM entity", skip="true", body=function( currentSpec ) {
local.result = _InternalRequest(
template : "#uri#\LDEV4067.cfm",
forms = {scene:6}
);
expect(trim(result.filecontent)).toBe("Michael");
});
it( title="checking this scope calling from lambda with ORM entity", body=function( currentSpec ) {
it( title="checking this scope calling from lambda with ORM entity", skip="true", body=function( currentSpec ) {
local.result = _InternalRequest(
template : "#uri#\LDEV4067.cfm",
forms = {scene:7}
);
expect(trim(result.filecontent)).toBe("Michael");
});
it( title="checking variables scope calling from lambda with ORM entity", body=function( currentSpec ) {
it( title="checking variables scope calling from lambda with ORM entity", skip=true, body=function( currentSpec ) {
local.result = _InternalRequest(
template : "#uri#\LDEV4067.cfm",
forms = {scene:8}
Expand Down
2 changes: 1 addition & 1 deletion test/tickets/LDEV4185.cfc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
component extends="org.lucee.cfml.test.LuceeTestCase" labels="ORM" skip="true" {
component extends="org.lucee.cfml.test.LuceeTestCase" labels="ORM" {

function beforeAll() {
variables.uri = createURI("LDEV4185");
Expand Down
8 changes: 4 additions & 4 deletions test/tickets/LDEV4285.cfc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
component extends="org.lucee.cfml.test.LuceeTestCase" labels="orm" skip="true" {
component extends="org.lucee.cfml.test.LuceeTestCase" labels="orm" {
function beforeAll() {
variables.uri = createURI("LDEV4285");
}
Expand Down Expand Up @@ -46,14 +46,14 @@ component extends="org.lucee.cfml.test.LuceeTestCase" labels="orm" skip="true" {
);
expect(result.filecontent.trim()).toBe(true);
});
it( title="entityLoad() with named arguments(name, idOrFilter)", body=function( currentSpec ) {
it( title="entityLoad() with named arguments(name, idOrFilter)", skip="true", body=function( currentSpec ) {
local.result = _InternalRequest(
template : "#uri#\test.cfm",
forms : { Scene = 7 }
);
expect(result.filecontent.trim()).toBe(true);
});
it( title="entityLoad() with named arguments(name, options)", body=function( currentSpec ) {
it( title="entityLoad() with named arguments(name, options)", skip="true," body=function( currentSpec ) {
local.result = _InternalRequest(
template : "#uri#\test.cfm",
forms : { Scene = 8 }
Expand All @@ -67,7 +67,7 @@ component extends="org.lucee.cfml.test.LuceeTestCase" labels="orm" skip="true" {
);
expect(result.filecontent.trim()).toBe(true);
});
it( title="entityLoad() with named arguments(name, idOrFilter, uniqueOrOrder)", body=function( currentSpec ) {
it( title="entityLoad() with named arguments(name, idOrFilter, uniqueOrOrder)", skip=true, body=function( currentSpec ) {
local.result = _InternalRequest(
template : "#uri#\test.cfm",
forms : { Scene = 10 }
Expand Down

0 comments on commit fbd3a4a

Please sign in to comment.