mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Skipping test incompatiblw with mysql
This commit is contained in:
parent
592dda92de
commit
130fe603a7
1 changed files with 3 additions and 3 deletions
|
@ -3841,8 +3841,8 @@ class ModelWriteTest extends BaseModelTest {
|
|||
*/
|
||||
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();
|
||||
|
@ -3892,7 +3892,7 @@ class ModelWriteTest extends BaseModelTest {
|
|||
*/
|
||||
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');
|
||||
|
|
Loading…
Add table
Reference in a new issue