load() public method

The default implementation simply stores the data returned by ArrayFixture::getData in [[data]]. You should usually override this method by putting the data into the underlying database.
public load ( )
Beispiel #1
0
 /**
  * @expectedException \yii\base\InvalidConfigException
  */
 public function testWrongDataFileException()
 {
     $this->_fixture->dataFile = 'wrong/fixtures/data/path/alias';
     $this->_fixture->load();
 }