Skip to content

Commit 75fa764

Browse files
committed
Fix broken tests.
1 parent e6e0cce commit 75fa764

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/PHPQueue/Backend/WindowsAzureBlobTest.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
namespace PHPQueue\Backend;
33
class WindowsAzureBlobTest extends \PHPUnit_Framework_TestCase
44
{
5+
/**
6+
* @var \PHPQueue\Backend\WindowsAzureBlob
7+
*/
58
private $object;
69

710
public function setUp()
@@ -49,7 +52,7 @@ public function testAdd()
4952

5053
$this->object->setContainer($container_name);
5154
$file = __DIR__ . '/cc_logo.jpg';
52-
$result = $this->object->put('image.jpg', $file);
55+
$result = $this->object->putFile('image.jpg', $file);
5356
$this->assertTrue($result);
5457

5558
$result = $this->object->listFiles();
@@ -63,7 +66,7 @@ public function testGet()
6366
{
6467
$container_name = 'testimg';
6568
$this->object->setContainer($container_name);
66-
$result = $this->object->fetch('image.jpg');
69+
$result = $this->object->fetchFile('image.jpg', __DIR__ . '/downloads');
6770
$this->assertNotEmpty($result);
6871
}
6972

0 commit comments

Comments
 (0)