Skip to content

Commit

Permalink
Fix expected exception messages in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bcrowe committed Nov 12, 2014
1 parent 9076aa5 commit f06d505
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TestCase/ORM/TableTest.php
Expand Up @@ -2278,7 +2278,7 @@ public function testMagicFindDefaultToAll() {
* Test magic findByXX errors on missing arguments.
*
* @expectedException \BadMethodCallException
* @expectedExceptionMessage Not enough arguments to magic finder. Got 0 required 1
* @expectedExceptionMessage Not enough arguments for magic finder. Got 0 required 1
* @return void
*/
public function testMagicFindError() {
Expand All @@ -2291,7 +2291,7 @@ public function testMagicFindError() {
* Test magic findByXX errors on missing arguments.
*
* @expectedException \BadMethodCallException
* @expectedExceptionMessage Not enough arguments to magic finder. Got 1 required 2
* @expectedExceptionMessage Not enough arguments for magic finder. Got 1 required 2
* @return void
*/
public function testMagicFindErrorMissingField() {
Expand Down

0 comments on commit f06d505

Please sign in to comment.