Commit a6314c87 by Klimov Paul

Merge branch 'master' of github.com:yiisoft/yii2

parents 5bda2fe0 dfe56987
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
use tests\codeception\backend\AcceptanceTester; use tests\codeception\backend\AcceptanceTester;
use tests\codeception\common\_pages\LoginPage; use tests\codeception\common\_pages\LoginPage;
/* @var $scenario Codeception\Scenario */
$I = new AcceptanceTester($scenario); $I = new AcceptanceTester($scenario);
$I->wantTo('ensure login page works'); $I->wantTo('ensure login page works');
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
use tests\codeception\backend\FunctionalTester; use tests\codeception\backend\FunctionalTester;
use tests\codeception\common\_pages\LoginPage; use tests\codeception\common\_pages\LoginPage;
/* @var $scenario Codeception\Scenario */
$I = new FunctionalTester($scenario); $I = new FunctionalTester($scenario);
$I->wantTo('ensure login page works'); $I->wantTo('ensure login page works');
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
use tests\codeception\frontend\AcceptanceTester; use tests\codeception\frontend\AcceptanceTester;
use tests\codeception\frontend\_pages\AboutPage; use tests\codeception\frontend\_pages\AboutPage;
/* @var $scenario Codeception\Scenario */
$I = new AcceptanceTester($scenario); $I = new AcceptanceTester($scenario);
$I->wantTo('ensure that about works'); $I->wantTo('ensure that about works');
AboutPage::openBy($I); AboutPage::openBy($I);
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
use tests\codeception\frontend\AcceptanceTester; use tests\codeception\frontend\AcceptanceTester;
use tests\codeception\frontend\_pages\ContactPage; use tests\codeception\frontend\_pages\ContactPage;
/* @var $scenario Codeception\Scenario */
$I = new AcceptanceTester($scenario); $I = new AcceptanceTester($scenario);
$I->wantTo('ensure that contact works'); $I->wantTo('ensure that contact works');
......
<?php <?php
use tests\codeception\frontend\AcceptanceTester; use tests\codeception\frontend\AcceptanceTester;
/* @var $scenario Codeception\Scenario */
$I = new AcceptanceTester($scenario); $I = new AcceptanceTester($scenario);
$I->wantTo('ensure that home page works'); $I->wantTo('ensure that home page works');
$I->amOnPage(Yii::$app->homeUrl); $I->amOnPage(Yii::$app->homeUrl);
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
use tests\codeception\frontend\AcceptanceTester; use tests\codeception\frontend\AcceptanceTester;
use tests\codeception\common\_pages\LoginPage; use tests\codeception\common\_pages\LoginPage;
/* @var $scenario Codeception\Scenario */
$I = new AcceptanceTester($scenario); $I = new AcceptanceTester($scenario);
$I->wantTo('ensure login page works'); $I->wantTo('ensure login page works');
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
use tests\codeception\frontend\FunctionalTester; use tests\codeception\frontend\FunctionalTester;
use tests\codeception\frontend\_pages\AboutPage; use tests\codeception\frontend\_pages\AboutPage;
/* @var $scenario Codeception\Scenario */
$I = new FunctionalTester($scenario); $I = new FunctionalTester($scenario);
$I->wantTo('ensure that about works'); $I->wantTo('ensure that about works');
AboutPage::openBy($I); AboutPage::openBy($I);
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
use tests\codeception\frontend\FunctionalTester; use tests\codeception\frontend\FunctionalTester;
use tests\codeception\frontend\_pages\ContactPage; use tests\codeception\frontend\_pages\ContactPage;
/* @var $scenario Codeception\Scenario */
$I = new FunctionalTester($scenario); $I = new FunctionalTester($scenario);
$I->wantTo('ensure that contact works'); $I->wantTo('ensure that contact works');
......
<?php <?php
use tests\codeception\frontend\FunctionalTester; use tests\codeception\frontend\FunctionalTester;
/* @var $scenario Codeception\Scenario */
$I = new FunctionalTester($scenario); $I = new FunctionalTester($scenario);
$I->wantTo('ensure that home page works'); $I->wantTo('ensure that home page works');
$I->amOnPage(Yii::$app->homeUrl); $I->amOnPage(Yii::$app->homeUrl);
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
use tests\codeception\frontend\FunctionalTester; use tests\codeception\frontend\FunctionalTester;
use tests\codeception\common\_pages\LoginPage; use tests\codeception\common\_pages\LoginPage;
/* @var $scenario Codeception\Scenario */
$I = new FunctionalTester($scenario); $I = new FunctionalTester($scenario);
$I->wantTo('ensure login page works'); $I->wantTo('ensure login page works');
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
use tests\codeception\_pages\AboutPage; use tests\codeception\_pages\AboutPage;
/* @var $scenario Codeception\Scenario */
$I = new AcceptanceTester($scenario); $I = new AcceptanceTester($scenario);
$I->wantTo('ensure that about works'); $I->wantTo('ensure that about works');
AboutPage::openBy($I); AboutPage::openBy($I);
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
use tests\codeception\_pages\ContactPage; use tests\codeception\_pages\ContactPage;
/* @var $scenario Codeception\Scenario */
$I = new AcceptanceTester($scenario); $I = new AcceptanceTester($scenario);
$I->wantTo('ensure that contact works'); $I->wantTo('ensure that contact works');
......
<?php <?php
/* @var $scenario Codeception\Scenario */
$I = new AcceptanceTester($scenario); $I = new AcceptanceTester($scenario);
$I->wantTo('ensure that home page works'); $I->wantTo('ensure that home page works');
$I->amOnPage(Yii::$app->homeUrl); $I->amOnPage(Yii::$app->homeUrl);
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
use tests\codeception\_pages\LoginPage; use tests\codeception\_pages\LoginPage;
/* @var $scenario Codeception\Scenario */
$I = new AcceptanceTester($scenario); $I = new AcceptanceTester($scenario);
$I->wantTo('ensure that login works'); $I->wantTo('ensure that login works');
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
use tests\codeception\_pages\AboutPage; use tests\codeception\_pages\AboutPage;
/* @var $scenario Codeception\Scenario */
$I = new FunctionalTester($scenario); $I = new FunctionalTester($scenario);
$I->wantTo('ensure that about works'); $I->wantTo('ensure that about works');
AboutPage::openBy($I); AboutPage::openBy($I);
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
use tests\codeception\_pages\ContactPage; use tests\codeception\_pages\ContactPage;
/* @var $scenario Codeception\Scenario */
$I = new FunctionalTester($scenario); $I = new FunctionalTester($scenario);
$I->wantTo('ensure that contact works'); $I->wantTo('ensure that contact works');
......
<?php <?php
/* @var $scenario Codeception\Scenario */
$I = new FunctionalTester($scenario); $I = new FunctionalTester($scenario);
$I->wantTo('ensure that home page works'); $I->wantTo('ensure that home page works');
$I->amOnPage(Yii::$app->homeUrl); $I->amOnPage(Yii::$app->homeUrl);
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
use tests\codeception\_pages\LoginPage; use tests\codeception\_pages\LoginPage;
/* @var $scenario Codeception\Scenario */
$I = new FunctionalTester($scenario); $I = new FunctionalTester($scenario);
$I->wantTo('ensure that login works'); $I->wantTo('ensure that login works');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment