mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-15 03:38:01 +01:00
Enable phpdoc_add_missing_param_annotation rule in php-cs-fixer config. (#14681) [skip ci]
This commit is contained in:
committed by
Alexander Makarov
parent
b7079d31df
commit
0c0942d6e2
@@ -238,13 +238,13 @@ class MigrateControllerTest extends TestCase
|
||||
*/
|
||||
public function testRefreshMigration()
|
||||
{
|
||||
Yii::$app->db->createCommand(
|
||||
"create table hall_of_fame(id int, string varchar(255))")->execute();
|
||||
Yii::$app->db->createCommand('create table hall_of_fame(id int, string varchar(255))')
|
||||
->execute();
|
||||
|
||||
Yii::$app->db->createCommand(
|
||||
"insert into hall_of_fame values(1, 'Qiang Xue');")->execute();
|
||||
Yii::$app->db->createCommand(
|
||||
"insert into hall_of_fame values(2, 'Alexander Makarov');")->execute();
|
||||
Yii::$app->db->createCommand("insert into hall_of_fame values(1, 'Qiang Xue');")
|
||||
->execute();
|
||||
Yii::$app->db->createCommand("insert into hall_of_fame values(2, 'Alexander Makarov');")
|
||||
->execute();
|
||||
|
||||
$result = $this->runMigrateControllerAction('fresh');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user