Skip to content

Commit 22aabaf

Browse files
committed
Adding catch block so this works with PHP 5.4.
1 parent 6d546ca commit 22aabaf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/OpenCloud/Tests/ObjectStore/Resource/ContainerTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,8 @@ public function test_Upload_Multiple_Return_DataObject_Array()
240240
array('name' => 'test2', 'path' => $tempFileName),
241241
array('name' => 'test2', 'body' => 'BARBAR')
242242
), array(), ReturnType::DATA_OBJECT_ARRAY);
243+
} catch (Exception $e) {
244+
throw $e;
243245
} finally {
244246
fclose($tempFile);
245247
unlink($tempFileName);

0 commit comments

Comments
 (0)