Skip to content

Commit 3db5359

Browse files
committed
skip lucee tests
1 parent 06156e9 commit 3db5359

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

tests/specs/cache/lucee/LuceeUniqueTest.cfc

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
component extends="coldbox.system.testing.BaseModelTest" skip="notLucee" {
1+
// TestBox ISSUE: skip is not working properly
2+
component extends="coldbox.system.testing.BaseModelTest"{
23

34
boolean function notLucee(){
45
if ( isBoxLang() || isAdobe() ) {
@@ -8,6 +9,9 @@
89
}
910

1011
function setup(){
12+
if( notLucee() ){
13+
return;
14+
}
1115
// Mocks
1216
mockFactory = createMock( "coldbox.system.cache.CacheFactory" );
1317
mockEventManager = createMock( "coldbox.system.core.events.EventPoolManager" );
@@ -40,10 +44,16 @@
4044
}
4145

4246
function teardown(){
47+
if( notLucee() ){
48+
return;
49+
}
4350
cache.clearAll();
4451
}
4552

4653
function testTimeouts(){
54+
if( notLucee() ){
55+
skip( "Lucee only test" );
56+
}
4757
testVal = { name : "luis", age : 32 };
4858
cache.clearAll();
4959

0 commit comments

Comments
 (0)