@@ -193,7 +193,7 @@ public function testBucketLifecycleRule()
193
193
$ this ->assertEquals (self ::$ bucketLifeRulePrefix , $ rule ["prefix " ]);
194
194
$ this ->assertEquals (80 , $ rule ["delete_after_days " ]);
195
195
$ this ->assertEquals (70 , $ rule ["to_line_after_days " ]);
196
- // $this->assertEquals(71, $rule["to_archive_ir_after_days"]);
196
+ $ this ->assertEquals (71 , $ rule ["to_archive_ir_after_days " ]);
197
197
$ this ->assertEquals (72 , $ rule ["to_archive_after_days " ]);
198
198
$ this ->assertEquals (74 , $ rule ["to_deep_archive_after_days " ]);
199
199
@@ -226,7 +226,7 @@ public function testBucketLifecycleRule()
226
226
$ this ->assertEquals ('update- ' . self ::$ bucketLifeRulePrefix , $ rule ["prefix " ]);
227
227
$ this ->assertEquals (90 , $ rule ["delete_after_days " ]);
228
228
$ this ->assertEquals (75 , $ rule ["to_line_after_days " ]);
229
- // $this->assertEquals(78, $rule["to_archive_ir_after_days"]);
229
+ $ this ->assertEquals (78 , $ rule ["to_archive_ir_after_days " ]);
230
230
$ this ->assertEquals (80 , $ rule ["to_archive_after_days " ]);
231
231
$ this ->assertEquals (85 , $ rule ["to_deep_archive_after_days " ]);
232
232
@@ -561,7 +561,7 @@ public function testSetObjectLifecycle()
561
561
list ($ ret , $ error ) = self ::$ bucketManager ->stat (self ::$ bucketName , $ key );
562
562
$ this ->assertNull ($ error );
563
563
$ this ->assertNotNull ($ ret ['transitionToIA ' ]);
564
- // $this->assertNotNull($ret['transitionToArchiveIR']);
564
+ $ this ->assertNotNull ($ ret ['transitionToArchiveIR ' ]);
565
565
$ this ->assertNotNull ($ ret ['transitionToARCHIVE ' ]);
566
566
$ this ->assertNotNull ($ ret ['transitionToDeepArchive ' ]);
567
567
$ this ->assertNotNull ($ ret ['expiration ' ]);
@@ -594,7 +594,7 @@ public function testSetObjectLifecycleWithCond()
594
594
list ($ ret , $ error ) = self ::$ bucketManager ->stat (self ::$ bucketName , $ key );
595
595
$ this ->assertNull ($ error );
596
596
$ this ->assertNotNull ($ ret ['transitionToIA ' ]);
597
- // $this->assertNotNull($ret['transitionToArchiveIR']);
597
+ $ this ->assertNotNull ($ ret ['transitionToArchiveIR ' ]);
598
598
$ this ->assertNotNull ($ ret ['transitionToARCHIVE ' ]);
599
599
$ this ->assertNotNull ($ ret ['transitionToDeepArchive ' ]);
600
600
$ this ->assertNotNull ($ ret ['expiration ' ]);
0 commit comments