Инициализировано Yii2 приложение, выпилены лишние части, накинуты чуточку нужных

This commit is contained in:
ErickSkrauch
2016-01-02 16:43:18 +03:00
commit 841303b8ab
134 changed files with 3394 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
<?php
use tests\codeception\api\FunctionalTester;
/* @var $scenario Codeception\Scenario */
$I = new FunctionalTester($scenario);
$I->wantTo('ensure that home page works');
$I->amOnPage(Yii::$app->homeUrl);
$I->see('My Company');
$I->seeLink('About');
$I->click('About');
$I->see('This is the About page.');