File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ class SlicingDiceTester {
5252
5353 this . perTestInsertion ;
5454
55+ this . insertSqlData = false ;
56+
5557 String . prototype . replaceAll = function ( search , replacement ) {
5658 var target = this ;
5759 return target . replace ( new RegExp ( search , 'g' ) , replacement ) ;
@@ -78,7 +80,7 @@ class SlicingDiceTester {
7880
7981 this . perTestInsertion = testData [ 0 ] . hasOwnProperty ( "insert" ) ;
8082
81- if ( ! this . perTestInsertion ) {
83+ if ( ! this . perTestInsertion && this . insertSqlData ) {
8284 let insertData = this . loadTestData ( queryType , "_insert" ) ;
8385 for ( let i = 0 ; i < insertData . length ; i ++ ) {
8486 async . series ( [
@@ -460,7 +462,7 @@ function main(){
460462 // Testing class with demo API key
461463 // To get a demo api key visit: http://panel.slicingdice.com/docs/#api-details-api-connection-api-keys-demo-key
462464 let sdTester = new SlicingDiceTester (
463- "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfX3NhbHQiOiJkZW1vMjIyM20iLCJwZXJtaXNzaW9uX2xldmVsIjozLCJwcm9qZWN0X2lkIjoyMjIyMywiY2xpZW50X2lkIjoxMH0.qu7SYr35tR3LULCP3j6CgLYwWL2uFL_DHvNAMz4UvOU " , false ) ;
465+ "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfX3NhbHQiOiIxNTIzMDY1ODQyNjU4IiwicGVybWlzc2lvbl9sZXZlbCI6MywicHJvamVjdF9pZCI6MzA1MDgsImNsaWVudF9pZCI6MjAzfQ.R3oKwcA9XoQcW_QBxcvqUNJS44AqCKjoK2Hz5uBnxmU " , false ) ;
464466
465467 let tests = [ ] ;
466468 for ( let i = 0 ; i < queryTypes . length ; i ++ ) {
You can’t perform that action at this time.
0 commit comments