File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 55namespace Contentstack \Config ;
66
77// Domain relevant constants
8- define ('HOST ' , 'stag- cdn.contentstack.io ' );
8+ define ('HOST ' , 'cdn.contentstack.io ' );
99define ('PROTOCOL ' , 'https ' );
1010define ('VERSION ' , '/v3 ' );
1111define ('PORT ' , 443 );
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ public static function tearDownAfterClass() {
3131
3232 public function testAssetsFind () {
3333 $ _assets = self ::$ Stack ->Assets ()->Query ()->toJSON ()->find ();
34+
3435 $ this ->assertArrayHasKey (0 , $ _assets );
3536 $ this ->assertTrue (checkAssetsSorting ($ _assets [0 ]));
3637 }
@@ -269,8 +270,8 @@ public function testAssetsFindLogicalOrRawQuery() {
269270 public function testAssetsFindLogicalAndQueryObject () {
270271 $ _value = 6161 ;
271272 $ query1 = self ::$ Stack ->Assets ()->Query ()->greaterThanEqualTo ('file_size ' , $ _value );
272- // \Contentstack\Utility\debug(($query1));
273- // \Contentstack\Utility\debug(($query2));
273+ // \Contentstack\Utility\debug(($query1));
274+ // \Contentstack\Utility\debug(($query2));
274275 // return 0;
275276 $ query2 = self ::$ Stack ->Assets ()->Query ()->lessThanEqualTo ('file_size ' , $ _value );
276277 $ assets = self ::$ Stack ->Assets ()->Query ()->logicalAND ($ query1 , $ query2 )->toJSON ()->find ();
You can’t perform that action at this time.
0 commit comments