actionLoad() public method
Loads the specified fixture data.
For example,
# load the fixture data specified by User and UserProfile. # any existing fixture data will be removed first yii fixture/load "User, UserProfile" # load all available fixtures found under 'tests\unit\fixtures' yii fixture/load "*" # load all fixtures except User and UserProfile yii fixture/load "*, -User, -UserProfile"
public integer actionLoad ( array $fixturesInput = [] ) | ||
---|---|---|
$fixturesInput | array | |
return | integer |
Return code |
throws | yii\console\Exception |
if the specified fixture does not exist. |
Please login to continue.