diff --git a/src/Codeception/Module/Yii2.php b/src/Codeception/Module/Yii2.php index 06d09d8..edf0eff 100644 --- a/src/Codeception/Module/Yii2.php +++ b/src/Codeception/Module/Yii2.php @@ -154,8 +154,8 @@ * * ```php * amOnPage('index-test.php?site/index'); - * $I->amOnPage('http://localhost/index-test.php?site/index'); + * $I->amOnPage('index-test.php?r=site/index'); + * $I->amOnPage('http://localhost/index-test.php?r=site/index'); * $I->sendAjaxPostRequest(['/user/update', 'id' => 1], ['UserForm[name]' => 'G.Hopper']); * ``` *