Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
docker-yii2-app
Project
Project
Details
Activity
Releases
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dmstr
docker-yii2-app
Commits
29967330
Commit
29967330
authored
Jun 27, 2016
by
Tobias Munk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated tests
parent
f26579a9
Pipeline
#11025
failed with stages
in 14 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
128 additions
and
84 deletions
+128
-84
FunctionalTesterActions.php
...deception/_support/_generated/FunctionalTesterActions.php
+127
-75
UnitTesterActions.php
tests/codeception/_support/_generated/UnitTesterActions.php
+1
-1
ApplicationTest.php
tests/codeception/unit/ApplicationTest.php
+0
-8
No files found.
tests/codeception/_support/_generated/FunctionalTesterActions.php
View file @
29967330
<?php
//[STAMP]
19caea571d7efb9db4bc77af7ecb17cd
<?php
//[STAMP]
6ce3cc226e84d9c7716ef98ce73cd510
namespace
_generated
;
// This class was automatically generated by build task
...
...
@@ -2027,7 +2027,8 @@ trait FunctionalTesterActions
* [!] Method is generated. Documentation taken from corresponding module.
*
* Finds and returns the text contents of the given element.
* If a fuzzy locator is used, the element is found using CSS, XPath, and by matching the full page source by regular expression.
* If a fuzzy locator is used, the element is found using CSS, XPath,
* and by matching the full page source by regular expression.
*
* ``` php
* <?php
...
...
@@ -2507,9 +2508,15 @@ trait FunctionalTesterActions
*
* Checks that response code is equal to value provided.
*
* @param $code
* ```php
* <?php
* $I->seeResponseCodeIs(200);
*
* @return mixed
* // recommended \Codeception\Util\HttpCode
* $I->seeResponseCodeIs(\Codeception\Util\HttpCode::OK);
* ```
*
* @param $code
* Conditional Assertion: Test won't be stopped on fail
* @see \Codeception\Lib\InnerBrowser::seeResponseCodeIs()
*/
...
...
@@ -2521,9 +2528,15 @@ trait FunctionalTesterActions
*
* Checks that response code is equal to value provided.
*
* @param $code
* ```php
* <?php
* $I->seeResponseCodeIs(200);
*
* @return mixed
* // recommended \Codeception\Util\HttpCode
* $I->seeResponseCodeIs(\Codeception\Util\HttpCode::OK);
* ```
*
* @param $code
* @see \Codeception\Lib\InnerBrowser::seeResponseCodeIs()
*/
public
function
seeResponseCodeIs
(
$code
)
{
...
...
@@ -2531,6 +2544,45 @@ trait FunctionalTesterActions
}
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
* Checks that response code is equal to value provided.
*
* ```php
* <?php
* $I->dontSeeResponseCodeIs(200);
*
* // recommended \Codeception\Util\HttpCode
* $I->dontSeeResponseCodeIs(\Codeception\Util\HttpCode::OK);
* ```
* @param $code
* Conditional Assertion: Test won't be stopped on fail
* @see \Codeception\Lib\InnerBrowser::dontSeeResponseCodeIs()
*/
public
function
cantSeeResponseCodeIs
(
$code
)
{
return
$this
->
getScenario
()
->
runStep
(
new
\Codeception\Step\ConditionalAssertion
(
'dontSeeResponseCodeIs'
,
func_get_args
()));
}
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
* Checks that response code is equal to value provided.
*
* ```php
* <?php
* $I->dontSeeResponseCodeIs(200);
*
* // recommended \Codeception\Util\HttpCode
* $I->dontSeeResponseCodeIs(\Codeception\Util\HttpCode::OK);
* ```
* @param $code
* @see \Codeception\Lib\InnerBrowser::dontSeeResponseCodeIs()
*/
public
function
dontSeeResponseCodeIs
(
$code
)
{
return
$this
->
getScenario
()
->
runStep
(
new
\Codeception\Step\Assertion
(
'dontSeeResponseCodeIs'
,
func_get_args
()));
}
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
...
...
tests/codeception/_support/_generated/UnitTesterActions.php
View file @
29967330
<?php
//[STAMP]
9d226cb1973c9976b2a8dca3a7dfb7bb
<?php
//[STAMP]
efa60a632309a7a8ed739cd59858eef3
namespace
_generated
;
// This class was automatically generated by build task
...
...
tests/codeception/unit/ApplicationTest.php
View file @
29967330
...
...
@@ -2,14 +2,6 @@
class
ApplicationTest
extends
\PHPUnit_Framework_TestCase
{
protected
function
setUp
()
{
}
protected
function
tearDown
()
{
}
// tests
public
function
testApp
()
{
...
...
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