Skip to content

Commit

Permalink
Fix expectedExceptionMessage to handle >=PHP7
Browse files Browse the repository at this point in the history
  • Loading branch information
Cory Thompson committed Jan 22, 2017
1 parent 902c991 commit 0d7e70c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestCase/Core/Configure/Engine/JsonConfigTest.php
Expand Up @@ -96,7 +96,7 @@ public function testReadWithNonExistentFile()
* Test reading an empty file.
*
* @expectedException \Cake\Core\Exception\Exception
* @expectedExceptionMessage Decoding JSON config file "empty.json" did not return an array
* @expectedExceptionMessage config file "empty.json"
* @return void
*/
public function testReadEmptyFile()
Expand Down

0 comments on commit 0d7e70c

Please sign in to comment.