Skip to content

Commit

Permalink
verify tests differently until bug resolved with Boxlang
Browse files Browse the repository at this point in the history
  • Loading branch information
lmajano committed Dec 23, 2024
1 parent c31b18d commit e15906e
Showing 1 changed file with 8 additions and 17 deletions.
25 changes: 8 additions & 17 deletions tests/specs/cache/store/JDBCStoreTest.cfc
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
<!-----------------------------------------------------------------------
********************************************************************************
Copyright 2005-2007 ColdBox Framework by Luis Majano and Ortus Solutions, Corp
www.coldbox.org | www.luismajano.com | www.ortussolutions.com
********************************************************************************
Author : Luis Majano
Date : 9/3/2007
Description :
object pool test
----------------------------------------------------------------------->
<cfcomponent extends="coldbox.system.testing.BaseModelTest">
<cfscript>
component extends="coldbox.system.testing.BaseModelTest"{

function setup(){
config = {
dsn : "coolblog",
Expand Down Expand Up @@ -97,9 +87,9 @@ object pool test
assertFalse( store.clear( "invalid" ) );

store.set( "test", now(), 20 );
results = store.clear( "test" );

assertTrue( results );
store.clear( "test" );
var results = store.lookup( "test" );
expect( results ).toBeFalse();
}

function testGetSize(){
Expand All @@ -108,5 +98,6 @@ object pool test
store.set( "test", now(), 0 );
assertTrue( store.getSize() eq 1 );
}
</cfscript>
</cfcomponent>


}

0 comments on commit e15906e

Please sign in to comment.