Adjusted testing namespaces in application templates
This commit is contained in:
parent
6b67d0ec52
commit
a3efcafd38
@ -12,4 +12,4 @@ $_SERVER['SCRIPT_FILENAME'] = YII_TEST_ENTRY_FILE;
|
||||
$_SERVER['SCRIPT_NAME'] = YII_TEST_ENTRY_URL;
|
||||
$_SERVER['SERVER_NAME'] = 'localhost';
|
||||
|
||||
Yii::setAlias('@codeception', __DIR__);
|
||||
Yii::setAlias('@tests', dirname(__DIR__));
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace codeception\_pages;
|
||||
namespace tests\codeception\_pages;
|
||||
|
||||
use yii\codeception\BasePage;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace codeception\_pages;
|
||||
namespace tests\codeception\_pages;
|
||||
|
||||
use yii\codeception\BasePage;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace codeception\_pages;
|
||||
namespace tests\codeception\_pages;
|
||||
|
||||
use yii\codeception\BasePage;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
use codeception\_pages\AboutPage;
|
||||
use tests\codeception\_pages\AboutPage;
|
||||
|
||||
$I = new AcceptanceTester($scenario);
|
||||
$I->wantTo('ensure that about works');
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
use codeception\_pages\ContactPage;
|
||||
use tests\codeception\_pages\ContactPage;
|
||||
|
||||
$I = new AcceptanceTester($scenario);
|
||||
$I->wantTo('ensure that contact works');
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
use codeception\_pages\LoginPage;
|
||||
use tests\codeception\_pages\LoginPage;
|
||||
|
||||
$I = new AcceptanceTester($scenario);
|
||||
$I->wantTo('ensure that login works');
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
use codeception\_pages\AboutPage;
|
||||
use tests\codeception\_pages\AboutPage;
|
||||
|
||||
$I = new FunctionalTester($scenario);
|
||||
$I->wantTo('ensure that about works');
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
use codeception\_pages\ContactPage;
|
||||
use tests\codeception\_pages\ContactPage;
|
||||
|
||||
$I = new FunctionalTester($scenario);
|
||||
$I->wantTo('ensure that contact works');
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
use codeception\_pages\LoginPage;
|
||||
use tests\codeception\_pages\LoginPage;
|
||||
|
||||
$I = new FunctionalTester($scenario);
|
||||
$I->wantTo('ensure that login works');
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace codeception\unit\models;
|
||||
namespace tests\codeception\unit\models;
|
||||
|
||||
use Yii;
|
||||
use yii\codeception\TestCase;
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace codeception\unit\models;
|
||||
namespace tests\codeception\unit\models;
|
||||
|
||||
use Yii;
|
||||
use yii\codeception\TestCase;
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace codeception\unit\models;
|
||||
namespace tests\codeception\unit\models;
|
||||
|
||||
use yii\codeception\TestCase;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user