From d653fff5d9a2aba7b7b48068ef1c540812ff2ad9 Mon Sep 17 00:00:00 2001 From: lihsai0 Date: Thu, 30 Nov 2023 18:50:45 +0800 Subject: [PATCH] pending server update --- tests/Qiniu/Tests/BucketTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Qiniu/Tests/BucketTest.php b/tests/Qiniu/Tests/BucketTest.php index 04676986..220d2f29 100755 --- a/tests/Qiniu/Tests/BucketTest.php +++ b/tests/Qiniu/Tests/BucketTest.php @@ -193,7 +193,7 @@ public function testBucketLifecycleRule() $this->assertEquals(self::$bucketLifeRulePrefix, $rule["prefix"]); $this->assertEquals(80, $rule["delete_after_days"]); $this->assertEquals(70, $rule["to_line_after_days"]); - $this->assertEquals(71, $rule["to_archive_ir_after_days"]); + //$this->assertEquals(71, $rule["to_archive_ir_after_days"]); $this->assertEquals(72, $rule["to_archive_after_days"]); $this->assertEquals(74, $rule["to_deep_archive_after_days"]); @@ -226,7 +226,7 @@ public function testBucketLifecycleRule() $this->assertEquals('update-' . self::$bucketLifeRulePrefix, $rule["prefix"]); $this->assertEquals(90, $rule["delete_after_days"]); $this->assertEquals(75, $rule["to_line_after_days"]); - $this->assertEquals(78, $rule["to_archive_ir_after_days"]); + //$this->assertEquals(78, $rule["to_archive_ir_after_days"]); $this->assertEquals(80, $rule["to_archive_after_days"]); $this->assertEquals(85, $rule["to_deep_archive_after_days"]); @@ -561,7 +561,7 @@ public function testSetObjectLifecycle() list($ret, $error) = self::$bucketManager->stat(self::$bucketName, $key); $this->assertNull($error); $this->assertNotNull($ret['transitionToIA']); - $this->assertNotNull($ret['transitionToArchiveIR']); + //$this->assertNotNull($ret['transitionToArchiveIR']); $this->assertNotNull($ret['transitionToARCHIVE']); $this->assertNotNull($ret['transitionToDeepArchive']); $this->assertNotNull($ret['expiration']); @@ -594,7 +594,7 @@ public function testSetObjectLifecycleWithCond() list($ret, $error) = self::$bucketManager->stat(self::$bucketName, $key); $this->assertNull($error); $this->assertNotNull($ret['transitionToIA']); - $this->assertNotNull($ret['transitionToArchiveIR']); + //$this->assertNotNull($ret['transitionToArchiveIR']); $this->assertNotNull($ret['transitionToARCHIVE']); $this->assertNotNull($ret['transitionToDeepArchive']); $this->assertNotNull($ret['expiration']);