Commit 2a6c0b77 by Qiang Xue

Fixed test break.

parent 1ad7e5f7
......@@ -159,20 +159,6 @@ class FixtureControllerTest extends TestCase
$this->assertEmpty(FixtureStorage::$firstFixtureData, 'first fixture data should not be loaded');
}
public function testAppendFixtureData()
{
$this->assertEmpty(FixtureStorage::$firstFixtureData, 'first fixture data should be unloaded');
$this->_fixtureController->actionLoad('First');
$this->assertCount(1, FixtureStorage::$firstFixtureData, 'first fixture data should be loaded');
$this->_fixtureController->append = true;
$this->_fixtureController->actionLoad('First');
$this->assertCount(2, FixtureStorage::$firstFixtureData, 'first fixture data should be appended to already existed one');
}
/**
* @expectedException \yii\console\Exception
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment