Skip to content
Permalink
Browse files

Removing non used fixtures

  • Loading branch information...
lorenzo committed Jul 15, 2010
1 parent e165f7d commit 67612872daf3f3b00958d58e65efd59e09e60846
Showing with 4 additions and 4 deletions.
  1. +4 −4 cake/tests/cases/libs/model/model_integration.test.php
@@ -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');
@@ -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');
@@ -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');
@@ -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'));

0 comments on commit 6761287

Please sign in to comment.
You can’t perform that action at this time.