Skip to content

Commit

Permalink
Unfortunately it is too difficult to test the fulle xcpetion message,
Browse files Browse the repository at this point in the history
relaxing the assertion a bit
  • Loading branch information
lorenzo committed Nov 2, 2015
1 parent e196c1d commit adbc780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestCase/Database/QueryTest.php
Expand Up @@ -639,7 +639,7 @@ public function testSelectWhereArrayType()
* result in a SQL error, but an internal exception
*
* @expectedException Cake\Database\Exception
* @expectedExceptionMessage Imposible to generate condition with empty list of values for field (id)
* @expectedExceptionMessage Imposible to generate condition with empty list of values for field
* @return void
*/
public function testSelectWhereArrayTypeEmpty()
Expand Down

0 comments on commit adbc780

Please sign in to comment.