From 56f1c9b8b5e599c3a446a7bdad2e166e0f319c4b Mon Sep 17 00:00:00 2001 From: Andy Hobbs Date: Fri, 27 Sep 2013 13:03:32 +0100 Subject: [PATCH] Ticket 4108 - updated DboSourceTest::testFieldsCacheKeyWithSchemanameChange() to skip for Postgres and Sqlserver --- lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php b/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php index bcfd5a060..7fc9a80cc 100644 --- a/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php +++ b/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php @@ -951,6 +951,9 @@ class DboSourceTest extends CakeTestCase { * @return void */ public function testFieldsCacheKeyWithSchemanameChange() { + if ($this->db instanceof Postgres || $this->db instanceof Sqlserver) { + $this->markTestSkipped('Cannot run this test with SqlServer or Postgres'); + } Cache::delete('method_cache', '_cake_core_'); DboSource::$methodCache = array(); $Article = ClassRegistry::init('Article');