mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-18 07:29:51 +00:00
fix ModelIntegrationTest part 1
This commit is contained in:
parent
ce774c0083
commit
6e29bb4d94
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@ class ModelIntegrationTest extends BaseModelTest {
|
||||||
*/
|
*/
|
||||||
public function testAssociationLazyLoadWithHABTM() {
|
public function testAssociationLazyLoadWithHABTM() {
|
||||||
$this->loadFixtures('FruitsUuidTag', 'ArticlesTag');
|
$this->loadFixtures('FruitsUuidTag', 'ArticlesTag');
|
||||||
|
$this->db->cacheSources = false;
|
||||||
$Article = new ArticleB();
|
$Article = new ArticleB();
|
||||||
$this->assertTrue(isset($Article->hasAndBelongsToMany['TagB']));
|
$this->assertTrue(isset($Article->hasAndBelongsToMany['TagB']));
|
||||||
$this->assertFalse(property_exists($Article, 'TagB'));
|
$this->assertFalse(property_exists($Article, 'TagB'));
|
||||||
|
|
Loading…
Add table
Reference in a new issue