File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
cake/tests/cases/libs/model Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -3708,6 +3708,10 @@ function testFindAllForeignKey() {
3708
3708
* @return void
3709
3709
*/
3710
3710
function testProductUpdateAll () {
3711
+ $ this ->skipIf (
3712
+ $ this ->db ->config ['driver ' ] == 'postgres ' ,
3713
+ '%s Currently, there is no way of doing joins in an update statement in postgresql '
3714
+ );
3711
3715
$ this ->loadFixtures ('ProductUpdateAll ' , 'GroupUpdateAll ' );
3712
3716
$ ProductUpdateAll =& new ProductUpdateAll ();
3713
3717
@@ -3746,6 +3750,7 @@ function testProductUpdateAll() {
3746
3750
3747
3751
$ this ->assertEqual ($ results , $ expected );
3748
3752
}
3753
+
3749
3754
/**
3750
3755
* testProductUpdateAllWithoutForeignKey
3751
3756
*
@@ -3754,6 +3759,10 @@ function testProductUpdateAll() {
3754
3759
* @return void
3755
3760
*/
3756
3761
function testProductUpdateAllWithoutForeignKey () {
3762
+ $ this ->skipIf (
3763
+ $ this ->db ->config ['driver ' ] == 'postgres ' ,
3764
+ '%s Currently, there is no way of doing joins in an update statement in postgresql '
3765
+ );
3757
3766
$ this ->loadFixtures ('ProductUpdateAll ' , 'GroupUpdateAll ' );
3758
3767
$ ProductUpdateAll =& new ProductUpdateAll ();
3759
3768
You can’t perform that action at this time.
0 commit comments