Adjusted testing namespaces in application templates

This commit is contained in:
Alexander Makarov 2014-08-24 14:14:35 +04:00
parent 6b67d0ec52
commit a3efcafd38
13 changed files with 13 additions and 13 deletions

View File

@ -12,4 +12,4 @@ $_SERVER['SCRIPT_FILENAME'] = YII_TEST_ENTRY_FILE;
$_SERVER['SCRIPT_NAME'] = YII_TEST_ENTRY_URL; $_SERVER['SCRIPT_NAME'] = YII_TEST_ENTRY_URL;
$_SERVER['SERVER_NAME'] = 'localhost'; $_SERVER['SERVER_NAME'] = 'localhost';
Yii::setAlias('@codeception', __DIR__); Yii::setAlias('@tests', dirname(__DIR__));

View File

@ -1,6 +1,6 @@
<?php <?php
namespace codeception\_pages; namespace tests\codeception\_pages;
use yii\codeception\BasePage; use yii\codeception\BasePage;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace codeception\_pages; namespace tests\codeception\_pages;
use yii\codeception\BasePage; use yii\codeception\BasePage;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace codeception\_pages; namespace tests\codeception\_pages;
use yii\codeception\BasePage; use yii\codeception\BasePage;

View File

@ -1,6 +1,6 @@
<?php <?php
use codeception\_pages\AboutPage; use tests\codeception\_pages\AboutPage;
$I = new AcceptanceTester($scenario); $I = new AcceptanceTester($scenario);
$I->wantTo('ensure that about works'); $I->wantTo('ensure that about works');

View File

@ -1,6 +1,6 @@
<?php <?php
use codeception\_pages\ContactPage; use tests\codeception\_pages\ContactPage;
$I = new AcceptanceTester($scenario); $I = new AcceptanceTester($scenario);
$I->wantTo('ensure that contact works'); $I->wantTo('ensure that contact works');

View File

@ -1,6 +1,6 @@
<?php <?php
use codeception\_pages\LoginPage; use tests\codeception\_pages\LoginPage;
$I = new AcceptanceTester($scenario); $I = new AcceptanceTester($scenario);
$I->wantTo('ensure that login works'); $I->wantTo('ensure that login works');

View File

@ -1,6 +1,6 @@
<?php <?php
use codeception\_pages\AboutPage; use tests\codeception\_pages\AboutPage;
$I = new FunctionalTester($scenario); $I = new FunctionalTester($scenario);
$I->wantTo('ensure that about works'); $I->wantTo('ensure that about works');

View File

@ -1,6 +1,6 @@
<?php <?php
use codeception\_pages\ContactPage; use tests\codeception\_pages\ContactPage;
$I = new FunctionalTester($scenario); $I = new FunctionalTester($scenario);
$I->wantTo('ensure that contact works'); $I->wantTo('ensure that contact works');

View File

@ -1,6 +1,6 @@
<?php <?php
use codeception\_pages\LoginPage; use tests\codeception\_pages\LoginPage;
$I = new FunctionalTester($scenario); $I = new FunctionalTester($scenario);
$I->wantTo('ensure that login works'); $I->wantTo('ensure that login works');

View File

@ -1,6 +1,6 @@
<?php <?php
namespace codeception\unit\models; namespace tests\codeception\unit\models;
use Yii; use Yii;
use yii\codeception\TestCase; use yii\codeception\TestCase;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace codeception\unit\models; namespace tests\codeception\unit\models;
use Yii; use Yii;
use yii\codeception\TestCase; use yii\codeception\TestCase;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace codeception\unit\models; namespace tests\codeception\unit\models;
use yii\codeception\TestCase; use yii\codeception\TestCase;