Skip to content

Commit

Permalink
Removing some of the loaded fixtures to show that tables are not need…
Browse files Browse the repository at this point in the history
…ed in the process of model construction
  • Loading branch information
lorenzo committed Jul 16, 2010
1 parent a57e5e8 commit e30904f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cake/tests/cases/libs/model/model_integration.test.php
Expand Up @@ -57,7 +57,7 @@ class ModelIntegrationTest extends BaseModelTest {
* @return void
*/
public function testAssociationLazyLoading() {
$this->loadFixtures('ArticleFeatured', 'User', 'Category', 'Comment', 'ArticleFeaturedsTags', 'Tag');
$this->loadFixtures('ArticleFeaturedsTags');
$Article = new ArticleFeatured();
$this->assertTrue(isset($Article->belongsTo['User']));
$this->assertFalse(property_exists($Article, 'User'));
Expand Down Expand Up @@ -93,7 +93,7 @@ public function testAssociationLazyLoading() {
* @return void
*/
public function testAssociationLazyLoadWithHABTM() {
$this->loadFixtures('Article', 'UuidTag', 'Fruit', 'FruitsUuidTag', 'ArticlesTag');
$this->loadFixtures('FruitsUuidTag', 'ArticlesTag');
$Article = new ArticleB();
$this->assertTrue(isset($Article->hasAndBelongsToMany['TagB']));
$this->assertFalse(property_exists($Article, 'TagB'));
Expand Down

0 comments on commit e30904f

Please sign in to comment.