Permalink
Browse files

Attempt to make tests work in all environments

  • Loading branch information...
DominicWatson committed Feb 8, 2019
1 parent 70a9684 commit 3291f91bec746e56261d53d0cc0df7865a353101
Showing with 4 additions and 4 deletions.
  1. +4 −4 support/tests/integration/api/presideObjects/PresideObjectServiceTest.cfc
@@ -2993,16 +2993,16 @@
obja.insertData( data={ label="Hello world 3" } );
obja.insertData( data={ label="Hello world 4" } );

super.assertEquals( 4, obja.selectData().recordCount );
super.assertEquals( 0, objb.selectData().recordCount );
super.assertEquals( 4, obja.selectData( useCache=false ).recordCount );
super.assertEquals( 0, objb.selectData( useCache=false ).recordCount );

var insertedCount = objb.insertDataFromSelect( fieldList=[ "id", "label", "datecreated", "datemodified" ], selectDataArgs={
objectName = "lookup_a"
, selectFields = [ "id", "label", "Now()", "Now()" ]
} );

super.assertEquals( 4, insertedCount);
super.assertEquals( 4, objb.selectData().recordCount );
super.assertEquals( 4, insertedCount );
super.assertEquals( 4, objb.selectData( useCache=false ).recordCount );
</cfscript>
</cffunction>

0 comments on commit 3291f91

Please sign in to comment.