mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-11 01:38:50 +01:00
Merge branch 'master' into sync-master-2052.
This commit is contained in:
@@ -44,12 +44,11 @@ class ArrayFixtureTest extends TestCase
|
||||
$this->assertEmpty($this->_fixture->data, 'fixture data should not be loaded');
|
||||
}
|
||||
|
||||
public function testWrongDataFileException(): void
|
||||
public function testWrongDataFileException()
|
||||
{
|
||||
$this->_fixture->dataFile = 'wrong/fixtures/data/path/alias';
|
||||
|
||||
$this->expectException(\yii\base\InvalidConfigException::class);
|
||||
|
||||
$this->_fixture->load();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user