Skip to content

Commit 118b3e1

Browse files
Updated the testcases
1 parent f995cb0 commit 118b3e1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/config/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace Contentstack\Config;
66

77
// Domain relevant constants
8-
define('HOST', 'stag-cdn.contentstack.io');
8+
define('HOST', 'cdn.contentstack.io');
99
define('PROTOCOL', 'https');
1010
define('VERSION', '/v3');
1111
define('PORT', 443);

test/AssetsTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)