Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Apr 14, 2019
1 parent 7cb1adc commit 3079f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestCase/Action/AddActionTest.php
Expand Up @@ -402,7 +402,7 @@ function ($event) {
$this->assertTrue($this->_subject->created);
$this->assertEquals(
['success' => true, 'data' => ['id' => 6]],
json_decode($this->_response->getBody(), true)
json_decode((string)$this->_response->getBody(), true)
);
}

Expand Down

0 comments on commit 3079f9b

Please sign in to comment.