Skip to content

Commit

Permalink
More testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Sep 26, 2017
1 parent b656802 commit 76e405e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/TestCase/Generator/Task/TableAssociationTaskTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace IdeHelper\Test\TestCase\Generator\Task;

use Cake\Core\Configure;
use IdeHelper\Generator\Task\TableAssociationTask;
use Tools\TestSuite\TestCase;

Expand All @@ -19,20 +18,9 @@ class TableAssociationTaskTest extends TestCase {
public function setUp() {
parent::setUp();

Configure::write('IdeHelper.preemptive', true);

$this->task = new TableAssociationTask();
}

/**
* @return void
*/
public function tearDown() {
Configure::delete('IdeHelper');

parent::tearDown();
}

/**
* @return void
*/
Expand Down
12 changes: 12 additions & 0 deletions tests/TestCase/Generator/Task/TableFinderTaskTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace IdeHelper\Test\TestCase\Generator\Task;

use Cake\Core\Configure;
use IdeHelper\Generator\Task\TableFinderTask;
use Tools\TestSuite\TestCase;
use Tools\TestSuite\ToolsTestTrait;
Expand All @@ -21,9 +22,20 @@ class TableFinderTaskTest extends TestCase {
public function setUp() {
parent::setUp();

Configure::write('IdeHelper.preemptive', true);

$this->task = new TableFinderTask();
}

/**
* @return void
*/
public function tearDown() {
Configure::delete('IdeHelper');

parent::tearDown();
}

/**
* @return void
*/
Expand Down

0 comments on commit 76e405e

Please sign in to comment.