Skip to content

Commit

Permalink
Removing non used fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Jul 15, 2010
1 parent e165f7d commit 6761287
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cake/tests/cases/libs/model/model_integration.test.php
Expand Up @@ -178,7 +178,7 @@ function testPkInHabtmLinkModel() {
$this->assertEqual($TestModel->ContentAccount->primaryKey, 'iContentAccountsId');

//test conformant models with no PK in the join table
$this->loadFixtures('Article', 'Tag', 'User', 'Comment', 'Attachment', 'Syfile', 'Image', 'Item', 'Portfolio', 'ItemsPortfolio');
$this->loadFixtures('Article', 'Tag');
$TestModel2 = new Article();
$this->assertEqual($TestModel2->ArticlesTag->primaryKey, 'article_id');

Expand Down Expand Up @@ -956,7 +956,7 @@ function testInvalidAssociation() {
* @return void
*/
function testLoadModelSecondIteration() {
$this->loadFixtures('Message', 'Thread', 'Bid');
$this->loadFixtures('Apple', 'Message', 'Thread', 'Bid');
$model = new ModelA();
$this->assertIsA($model,'ModelA');

Expand Down Expand Up @@ -1145,7 +1145,7 @@ function testPluginAssociations() {
* @return void
*/
function testGetAssociated() {
$this->loadFixtures('Article', 'Category');
$this->loadFixtures('Article', 'Tag');
$Article = ClassRegistry::init('Article');

$assocTypes = array('hasMany', 'hasOne', 'belongsTo', 'hasAndBelongsToMany');
Expand Down Expand Up @@ -1299,7 +1299,7 @@ function testAutoConstructAssociations() {
* @return void
*/
function testConstruct() {
$this->loadFixtures('Post', 'Comment');
$this->loadFixtures('Post');

$TestModel = ClassRegistry::init('MergeVarPluginPost');
$this->assertEqual($TestModel->actsAs, array('Containable', 'Tree'));
Expand Down

0 comments on commit 6761287

Please sign in to comment.