Skip to content

Commit e15906e

Browse files
committed
verify tests differently until bug resolved with Boxlang
1 parent c31b18d commit e15906e

File tree

1 file changed

+8
-17
lines changed

1 file changed

+8
-17
lines changed

tests/specs/cache/store/JDBCStoreTest.cfc

+8-17
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
1-
<!-----------------------------------------------------------------------
2-
********************************************************************************
3-
Copyright 2005-2007 ColdBox Framework by Luis Majano and Ortus Solutions, Corp
4-
www.coldbox.org | www.luismajano.com | www.ortussolutions.com
5-
********************************************************************************
6-
Author : Luis Majano
7-
Date : 9/3/2007
8-
Description :
9-
object pool test
10-
----------------------------------------------------------------------->
11-
<cfcomponent extends="coldbox.system.testing.BaseModelTest">
12-
<cfscript>
1+
component extends="coldbox.system.testing.BaseModelTest"{
2+
133
function setup(){
144
config = {
155
dsn : "coolblog",
@@ -97,9 +87,9 @@ object pool test
9787
assertFalse( store.clear( "invalid" ) );
9888

9989
store.set( "test", now(), 20 );
100-
results = store.clear( "test" );
101-
102-
assertTrue( results );
90+
store.clear( "test" );
91+
var results = store.lookup( "test" );
92+
expect( results ).toBeFalse();
10393
}
10494

10595
function testGetSize(){
@@ -108,5 +98,6 @@ object pool test
10898
store.set( "test", now(), 0 );
10999
assertTrue( store.getSize() eq 1 );
110100
}
111-
</cfscript>
112-
</cfcomponent>
101+
102+
103+
}

0 commit comments

Comments
 (0)