Skip to content

Commit 17a1efb

Browse files
Updating server unit test
1 parent 1e9d483 commit 17a1efb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
03/09/13 11:1 - This is an emergency!
1+
03/09/13 16:1 - This is an emergency!

tests/OpenCloud/Tests/Compute/ServerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ public function testCreate_personality()
288288
{
289289
$new = new PublicServer($this->service);
290290
$new->addFile('/tmp/hello.txt', 'Hello, world!');
291-
$obj = json_decode($new->CreateJson());
291+
$obj = $new->CreateJson();
292292

293293
$this->assertTrue(is_array($obj->server->personality));
294294
$this->assertEquals(

0 commit comments

Comments
 (0)