Browse Source

fix ModelIntegrationTest part 1

AD7six 15 years ago
parent
commit
6e29bb4d94
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/Cake/Test/Case/Model/ModelIntegrationTest.php

+ 1 - 0
lib/Cake/Test/Case/Model/ModelIntegrationTest.php

@@ -93,6 +93,7 @@ class ModelIntegrationTest extends BaseModelTest {
  */
 	public function testAssociationLazyLoadWithHABTM() {
 		$this->loadFixtures('FruitsUuidTag', 'ArticlesTag');
+		$this->db->cacheSources = false;
 		$Article = new ArticleB();
 		$this->assertTrue(isset($Article->hasAndBelongsToMany['TagB']));
 		$this->assertFalse(property_exists($Article, 'TagB'));