Permalink
Browse files

[單元測試] 刪除 Blob

  • Loading branch information...
1 parent ee55a13 commit 90c6bdd5fcddae4c9c31eb06bc2c704f7f22d555 Sam.IO.Hsiao committed Aug 14, 2016
Showing with 15 additions and 0 deletions.
  1. +15 −0 tests/AzureBlobServiceUnitTest.php
@@ -73,4 +73,19 @@ public function 下載Blob()
$expected = true;
$this->assertEquals($expected, $actual);
}
+
+ /** @test */
+ public function 刪除Blob()
+ {
+ /** arrange */
+
+ /** act */
+ $containerName = 'mycontainer';
+ $blobName = 'myblob';
+ $actual = $this->target->deleteBlob($containerName, $blobName);
+
+ /** assert */
+ $expected = true;
+ $this->assertEquals($expected, $actual);
+ }
}

0 comments on commit 90c6bdd

Please sign in to comment.