Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
0323dbb5
Commit
0323dbb5
authored
Jan 29, 2015
by
Evgeniy Tkachenko
Committed by
githubjeka
Jan 29, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix undefined variable $scenario in test files.
parent
0a6cd619
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
37 additions
and
0 deletions
+37
-0
LoginCept.php
...vanced/tests/codeception/backend/acceptance/LoginCept.php
+2
-0
LoginCept.php
...vanced/tests/codeception/backend/functional/LoginCept.php
+2
-0
AboutCept.php
...anced/tests/codeception/frontend/acceptance/AboutCept.php
+2
-0
ContactCept.php
...ced/tests/codeception/frontend/acceptance/ContactCept.php
+2
-0
HomeCept.php
...vanced/tests/codeception/frontend/acceptance/HomeCept.php
+2
-0
LoginCept.php
...anced/tests/codeception/frontend/acceptance/LoginCept.php
+2
-0
AboutCept.php
...anced/tests/codeception/frontend/functional/AboutCept.php
+2
-0
ContactCept.php
...ced/tests/codeception/frontend/functional/ContactCept.php
+2
-0
HomeCept.php
...vanced/tests/codeception/frontend/functional/HomeCept.php
+3
-0
LoginCept.php
...anced/tests/codeception/frontend/functional/LoginCept.php
+2
-0
AboutCept.php
apps/basic/tests/codeception/acceptance/AboutCept.php
+2
-0
ContactCept.php
apps/basic/tests/codeception/acceptance/ContactCept.php
+2
-0
HomeCept.php
apps/basic/tests/codeception/acceptance/HomeCept.php
+2
-0
LoginCept.php
apps/basic/tests/codeception/acceptance/LoginCept.php
+2
-0
AboutCept.php
apps/basic/tests/codeception/functional/AboutCept.php
+2
-0
ContactCept.php
apps/basic/tests/codeception/functional/ContactCept.php
+2
-0
HomeCept.php
apps/basic/tests/codeception/functional/HomeCept.php
+2
-0
LoginCept.php
apps/basic/tests/codeception/functional/LoginCept.php
+2
-0
No files found.
apps/advanced/tests/codeception/backend/acceptance/LoginCept.php
View file @
0323dbb5
...
...
@@ -3,6 +3,8 @@
use
tests\codeception\backend\AcceptanceTester
;
use
tests\codeception\common\_pages\LoginPage
;
/* @var $scenario Codeception\Scenario */
$I
=
new
AcceptanceTester
(
$scenario
);
$I
->
wantTo
(
'ensure login page works'
);
...
...
apps/advanced/tests/codeception/backend/functional/LoginCept.php
View file @
0323dbb5
...
...
@@ -3,6 +3,8 @@
use
tests\codeception\backend\FunctionalTester
;
use
tests\codeception\common\_pages\LoginPage
;
/* @var $scenario Codeception\Scenario */
$I
=
new
FunctionalTester
(
$scenario
);
$I
->
wantTo
(
'ensure login page works'
);
...
...
apps/advanced/tests/codeception/frontend/acceptance/AboutCept.php
View file @
0323dbb5
...
...
@@ -2,6 +2,8 @@
use
tests\codeception\frontend\AcceptanceTester
;
use
tests\codeception\frontend\_pages\AboutPage
;
/* @var $scenario Codeception\Scenario */
$I
=
new
AcceptanceTester
(
$scenario
);
$I
->
wantTo
(
'ensure that about works'
);
AboutPage
::
openBy
(
$I
);
...
...
apps/advanced/tests/codeception/frontend/acceptance/ContactCept.php
View file @
0323dbb5
...
...
@@ -2,6 +2,8 @@
use
tests\codeception\frontend\AcceptanceTester
;
use
tests\codeception\frontend\_pages\ContactPage
;
/* @var $scenario Codeception\Scenario */
$I
=
new
AcceptanceTester
(
$scenario
);
$I
->
wantTo
(
'ensure that contact works'
);
...
...
apps/advanced/tests/codeception/frontend/acceptance/HomeCept.php
View file @
0323dbb5
<?php
use
tests\codeception\frontend\AcceptanceTester
;
/* @var $scenario Codeception\Scenario */
$I
=
new
AcceptanceTester
(
$scenario
);
$I
->
wantTo
(
'ensure that home page works'
);
$I
->
amOnPage
(
Yii
::
$app
->
homeUrl
);
...
...
apps/advanced/tests/codeception/frontend/acceptance/LoginCept.php
View file @
0323dbb5
...
...
@@ -2,6 +2,8 @@
use
tests\codeception\frontend\AcceptanceTester
;
use
tests\codeception\common\_pages\LoginPage
;
/* @var $scenario Codeception\Scenario */
$I
=
new
AcceptanceTester
(
$scenario
);
$I
->
wantTo
(
'ensure login page works'
);
...
...
apps/advanced/tests/codeception/frontend/functional/AboutCept.php
View file @
0323dbb5
...
...
@@ -2,6 +2,8 @@
use
tests\codeception\frontend\FunctionalTester
;
use
tests\codeception\frontend\_pages\AboutPage
;
/* @var $scenario Codeception\Scenario */
$I
=
new
FunctionalTester
(
$scenario
);
$I
->
wantTo
(
'ensure that about works'
);
AboutPage
::
openBy
(
$I
);
...
...
apps/advanced/tests/codeception/frontend/functional/ContactCept.php
View file @
0323dbb5
...
...
@@ -2,6 +2,8 @@
use
tests\codeception\frontend\FunctionalTester
;
use
tests\codeception\frontend\_pages\ContactPage
;
/* @var $scenario Codeception\Scenario */
$I
=
new
FunctionalTester
(
$scenario
);
$I
->
wantTo
(
'ensure that contact works'
);
...
...
apps/advanced/tests/codeception/frontend/functional/HomeCept.php
View file @
0323dbb5
<?php
use
tests\codeception\frontend\FunctionalTester
;
/* @var $scenario Codeception\Scenario */
$I
=
new
FunctionalTester
(
$scenario
);
$I
->
wantTo
(
'ensure that home page works'
);
$I
->
amOnPage
(
Yii
::
$app
->
homeUrl
);
...
...
apps/advanced/tests/codeception/frontend/functional/LoginCept.php
View file @
0323dbb5
...
...
@@ -2,6 +2,8 @@
use
tests\codeception\frontend\FunctionalTester
;
use
tests\codeception\common\_pages\LoginPage
;
/* @var $scenario Codeception\Scenario */
$I
=
new
FunctionalTester
(
$scenario
);
$I
->
wantTo
(
'ensure login page works'
);
...
...
apps/basic/tests/codeception/acceptance/AboutCept.php
View file @
0323dbb5
...
...
@@ -2,6 +2,8 @@
use
tests\codeception\_pages\AboutPage
;
/* @var $scenario Codeception\Scenario */
$I
=
new
AcceptanceTester
(
$scenario
);
$I
->
wantTo
(
'ensure that about works'
);
AboutPage
::
openBy
(
$I
);
...
...
apps/basic/tests/codeception/acceptance/ContactCept.php
View file @
0323dbb5
...
...
@@ -2,6 +2,8 @@
use
tests\codeception\_pages\ContactPage
;
/* @var $scenario Codeception\Scenario */
$I
=
new
AcceptanceTester
(
$scenario
);
$I
->
wantTo
(
'ensure that contact works'
);
...
...
apps/basic/tests/codeception/acceptance/HomeCept.php
View file @
0323dbb5
<?php
/* @var $scenario Codeception\Scenario */
$I
=
new
AcceptanceTester
(
$scenario
);
$I
->
wantTo
(
'ensure that home page works'
);
$I
->
amOnPage
(
Yii
::
$app
->
homeUrl
);
...
...
apps/basic/tests/codeception/acceptance/LoginCept.php
View file @
0323dbb5
...
...
@@ -2,6 +2,8 @@
use
tests\codeception\_pages\LoginPage
;
/* @var $scenario Codeception\Scenario */
$I
=
new
AcceptanceTester
(
$scenario
);
$I
->
wantTo
(
'ensure that login works'
);
...
...
apps/basic/tests/codeception/functional/AboutCept.php
View file @
0323dbb5
...
...
@@ -2,6 +2,8 @@
use
tests\codeception\_pages\AboutPage
;
/* @var $scenario Codeception\Scenario */
$I
=
new
FunctionalTester
(
$scenario
);
$I
->
wantTo
(
'ensure that about works'
);
AboutPage
::
openBy
(
$I
);
...
...
apps/basic/tests/codeception/functional/ContactCept.php
View file @
0323dbb5
...
...
@@ -2,6 +2,8 @@
use
tests\codeception\_pages\ContactPage
;
/* @var $scenario Codeception\Scenario */
$I
=
new
FunctionalTester
(
$scenario
);
$I
->
wantTo
(
'ensure that contact works'
);
...
...
apps/basic/tests/codeception/functional/HomeCept.php
View file @
0323dbb5
<?php
/* @var $scenario Codeception\Scenario */
$I
=
new
FunctionalTester
(
$scenario
);
$I
->
wantTo
(
'ensure that home page works'
);
$I
->
amOnPage
(
Yii
::
$app
->
homeUrl
);
...
...
apps/basic/tests/codeception/functional/LoginCept.php
View file @
0323dbb5
...
...
@@ -2,6 +2,8 @@
use
tests\codeception\_pages\LoginPage
;
/* @var $scenario Codeception\Scenario */
$I
=
new
FunctionalTester
(
$scenario
);
$I
->
wantTo
(
'ensure that login works'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment