Skip to content

Commit

Permalink
Skipping test incompatiblw with mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Nov 29, 2010
1 parent 592dda9 commit 130fe60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cake/tests/cases/libs/model/model_write.test.php
Expand Up @@ -3841,8 +3841,8 @@ function testFindAllForeignKey() {
*/
function testProductUpdateAll() {
$this->skipIf(
$this->db->config['driver'] == 'postgres',
'%s Currently, there is no way of doing joins in an update statement in postgresql'
$this->db->config['driver'] != 'mysql',
'%s Currently, there is no way of doing joins in an update statement in postgresql or sqlite'
);
$this->loadFixtures('ProductUpdateAll', 'GroupUpdateAll');
$ProductUpdateAll = new ProductUpdateAll();
Expand Down Expand Up @@ -3892,7 +3892,7 @@ function testProductUpdateAll() {
*/
function testProductUpdateAllWithoutForeignKey() {
$this->skipIf(
$this->db->config['driver'] == 'postgres',
$this->db->config['driver'] != 'mysql',
'%s Currently, there is no way of doing joins in an update statement in postgresql'
);
$this->loadFixtures('ProductUpdateAll', 'GroupUpdateAll');
Expand Down

0 comments on commit 130fe60

Please sign in to comment.