Commit 29967330 authored by Tobias Munk's avatar Tobias Munk

updated tests

parent f26579a9
Pipeline #11025 failed with stages
in 14 seconds
<?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.
*
......
<?php //[STAMP] 9d226cb1973c9976b2a8dca3a7dfb7bb
<?php //[STAMP] efa60a632309a7a8ed739cd59858eef3
namespace _generated;
// This class was automatically generated by build task
......
......@@ -2,14 +2,6 @@
class ApplicationTest extends \PHPUnit_Framework_TestCase
{
protected function setUp()
{
}
protected function tearDown()
{
}
// tests
public function testApp()
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment