Browse Source

Added functional tests for the basic app.

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
5698a10c81
  1. 85
      apps/basic/tests/acceptance/WebGuy.php
  2. 6
      apps/basic/tests/functional.suite.dist.yml
  3. 36
      apps/basic/tests/functional/ContactCept.php
  4. 8
      apps/basic/tests/functional/HomeCept.php
  5. 23
      apps/basic/tests/functional/LoginCept.php
  6. 1048
      apps/basic/tests/functional/TestGuy.php
  7. 4
      apps/basic/www/index-test.php
  8. 2
      framework/yii/base/ErrorHandler.php
  9. 4
      framework/yii/web/User.php

85
apps/basic/tests/acceptance/WebGuy.php

@ -1,19 +1,18 @@
<?php <?php
// This class was automatically generated by build task // This class was automatically generated by build task
// You can change it manually, but it will be overwritten on next build // You should not change it manually as it will be overwritten on next build
// @codingStandardsIgnoreFile // @codingStandardsIgnoreFile
use Codeception\Maybe;
use \Codeception\Maybe;
use Codeception\Module\PhpBrowser; use Codeception\Module\PhpBrowser;
use Codeception\Module\WebHelper; use Codeception\Module\WebHelper;
/** /**
* Inherited methods * Inherited methods
* @method void execute($callable)
* @method void wantToTest($text) * @method void wantToTest($text)
* @method void wantTo($text) * @method void wantTo($text)
* @method void amTesting($method)
* @method void amTestingMethod($method)
* @method void testMethod($signature)
* @method void expectTo($prediction) * @method void expectTo($prediction)
* @method void expect($prediction) * @method void expect($prediction)
* @method void amGoingTo($argumentation) * @method void amGoingTo($argumentation)
@ -236,7 +235,7 @@ class WebGuy extends \Codeception\AbstractGuy
* Opens the page. * Opens the page.
* *
* @param $page * @param $page
* @see PhpBrowser::amOnPage() * @see Mink::amOnPage()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -268,7 +267,7 @@ class WebGuy extends \Codeception\AbstractGuy
* ``` * ```
* @param $subdomain * @param $subdomain
* @return mixed * @return mixed
* @see PhpBrowser::amOnSubdomain() * @see Mink::amOnSubdomain()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -298,7 +297,7 @@ class WebGuy extends \Codeception\AbstractGuy
* *
* @param $text * @param $text
* @param null $selector * @param null $selector
* @see PhpBrowser::dontSee() * @see Mink::dontSee()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -329,7 +328,7 @@ class WebGuy extends \Codeception\AbstractGuy
* *
* @param $text * @param $text
* @param null $selector * @param null $selector
* @see PhpBrowser::see() * @see Mink::see()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -359,7 +358,7 @@ class WebGuy extends \Codeception\AbstractGuy
* *
* @param $text * @param $text
* @param null $url * @param null $url
* @see PhpBrowser::seeLink() * @see Mink::seeLink()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -388,7 +387,7 @@ class WebGuy extends \Codeception\AbstractGuy
* *
* @param $text * @param $text
* @param null $url * @param null $url
* @see PhpBrowser::dontSeeLink() * @see Mink::dontSeeLink()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -432,7 +431,7 @@ class WebGuy extends \Codeception\AbstractGuy
* ``` * ```
* @param $link * @param $link
* @param $context * @param $context
* @see PhpBrowser::click() * @see Mink::click()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -457,7 +456,7 @@ class WebGuy extends \Codeception\AbstractGuy
* ?> * ?>
* ``` * ```
* @param $selector * @param $selector
* @see PhpBrowser::seeElement() * @see Mink::seeElement()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -482,7 +481,7 @@ class WebGuy extends \Codeception\AbstractGuy
* ?> * ?>
* ``` * ```
* @param $selector * @param $selector
* @see PhpBrowser::dontSeeElement() * @see Mink::dontSeeElement()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -499,7 +498,7 @@ class WebGuy extends \Codeception\AbstractGuy
/** /**
* Reloads current page * Reloads current page
* @see PhpBrowser::reloadPage() * @see Mink::reloadPage()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -516,7 +515,7 @@ class WebGuy extends \Codeception\AbstractGuy
/** /**
* Moves back in history * Moves back in history
* @see PhpBrowser::moveBack() * @see Mink::moveBack()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -533,7 +532,7 @@ class WebGuy extends \Codeception\AbstractGuy
/** /**
* Moves forward in history * Moves forward in history
* @see PhpBrowser::moveForward() * @see Mink::moveForward()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -553,7 +552,7 @@ class WebGuy extends \Codeception\AbstractGuy
* *
* @param $field * @param $field
* @param $value * @param $value
* @see PhpBrowser::fillField() * @see Mink::fillField()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -583,7 +582,7 @@ class WebGuy extends \Codeception\AbstractGuy
* *
* @param $select * @param $select
* @param $option * @param $option
* @see PhpBrowser::selectOption() * @see Mink::selectOption()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -611,7 +610,7 @@ class WebGuy extends \Codeception\AbstractGuy
* ``` * ```
* *
* @param $option * @param $option
* @see PhpBrowser::checkOption() * @see Mink::checkOption()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -638,7 +637,7 @@ class WebGuy extends \Codeception\AbstractGuy
* ``` * ```
* *
* @param $option * @param $option
* @see PhpBrowser::uncheckOption() * @see Mink::uncheckOption()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -666,7 +665,7 @@ class WebGuy extends \Codeception\AbstractGuy
* ``` * ```
* *
* @param $uri * @param $uri
* @see PhpBrowser::seeInCurrentUrl() * @see Mink::seeInCurrentUrl()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -691,7 +690,7 @@ class WebGuy extends \Codeception\AbstractGuy
* ``` * ```
* *
* @param $uri * @param $uri
* @see PhpBrowser::dontSeeInCurrentUrl() * @see Mink::dontSeeInCurrentUrl()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -716,7 +715,7 @@ class WebGuy extends \Codeception\AbstractGuy
* ?> * ?>
* *
* @param $uri * @param $uri
* @see PhpBrowser::seeCurrentUrlEquals() * @see Mink::seeCurrentUrlEquals()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -741,7 +740,7 @@ class WebGuy extends \Codeception\AbstractGuy
* ?> * ?>
* *
* @param $uri * @param $uri
* @see PhpBrowser::dontSeeCurrentUrlEquals() * @see Mink::dontSeeCurrentUrlEquals()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -765,7 +764,7 @@ class WebGuy extends \Codeception\AbstractGuy
* ?> * ?>
* *
* @param $uri * @param $uri
* @see PhpBrowser::seeCurrentUrlMatches() * @see Mink::seeCurrentUrlMatches()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -789,7 +788,7 @@ class WebGuy extends \Codeception\AbstractGuy
* ?> * ?>
* *
* @param $uri * @param $uri
* @see PhpBrowser::dontSeeCurrentUrlMatches() * @see Mink::dontSeeCurrentUrlMatches()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -806,7 +805,7 @@ class WebGuy extends \Codeception\AbstractGuy
/** /**
* *
* @see PhpBrowser::seeCookie() * @see Mink::seeCookie()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -823,7 +822,7 @@ class WebGuy extends \Codeception\AbstractGuy
/** /**
* *
* @see PhpBrowser::dontSeeCookie() * @see Mink::dontSeeCookie()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -840,7 +839,7 @@ class WebGuy extends \Codeception\AbstractGuy
/** /**
* *
* @see PhpBrowser::setCookie() * @see Mink::setCookie()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -857,7 +856,7 @@ class WebGuy extends \Codeception\AbstractGuy
/** /**
* *
* @see PhpBrowser::resetCookie() * @see Mink::resetCookie()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -874,7 +873,7 @@ class WebGuy extends \Codeception\AbstractGuy
/** /**
* *
* @see PhpBrowser::grabCookie() * @see Mink::grabCookie()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -903,7 +902,7 @@ class WebGuy extends \Codeception\AbstractGuy
* @param null $uri * @param null $uri
* @internal param $url * @internal param $url
* @return mixed * @return mixed
* @see PhpBrowser::grabFromCurrentUrl() * @see Mink::grabFromCurrentUrl()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -932,7 +931,7 @@ class WebGuy extends \Codeception\AbstractGuy
* *
* @param $field * @param $field
* @param $filename * @param $filename
* @see PhpBrowser::attachFile() * @see Mink::attachFile()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -959,7 +958,7 @@ class WebGuy extends \Codeception\AbstractGuy
* @param $selector * @param $selector
* @param $optionText * @param $optionText
* @return mixed * @return mixed
* @see PhpBrowser::seeOptionIsSelected() * @see Mink::seeOptionIsSelected()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -986,7 +985,7 @@ class WebGuy extends \Codeception\AbstractGuy
* @param $selector * @param $selector
* @param $optionText * @param $optionText
* @return mixed * @return mixed
* @see PhpBrowser::dontSeeOptionIsSelected() * @see Mink::dontSeeOptionIsSelected()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -1016,7 +1015,7 @@ class WebGuy extends \Codeception\AbstractGuy
* ``` * ```
* *
* @param $checkbox * @param $checkbox
* @see PhpBrowser::seeCheckboxIsChecked() * @see Mink::seeCheckboxIsChecked()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -1045,7 +1044,7 @@ class WebGuy extends \Codeception\AbstractGuy
* ``` * ```
* *
* @param $checkbox * @param $checkbox
* @see PhpBrowser::dontSeeCheckboxIsChecked() * @see Mink::dontSeeCheckboxIsChecked()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -1078,7 +1077,7 @@ class WebGuy extends \Codeception\AbstractGuy
* *
* @param $field * @param $field
* @param $value * @param $value
* @see PhpBrowser::seeInField() * @see Mink::seeInField()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -1110,7 +1109,7 @@ class WebGuy extends \Codeception\AbstractGuy
* *
* @param $field * @param $field
* @param $value * @param $value
* @see PhpBrowser::dontSeeInField() * @see Mink::dontSeeInField()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -1141,7 +1140,7 @@ class WebGuy extends \Codeception\AbstractGuy
* *
* @param $cssOrXPathOrRegex * @param $cssOrXPathOrRegex
* @return mixed * @return mixed
* @see PhpBrowser::grabTextFrom() * @see Mink::grabTextFrom()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -1172,7 +1171,7 @@ class WebGuy extends \Codeception\AbstractGuy
* *
* @param $field * @param $field
* @return mixed * @return mixed
* @see PhpBrowser::grabValueFrom() * @see Mink::grabValueFrom()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !
@ -1189,7 +1188,7 @@ class WebGuy extends \Codeception\AbstractGuy
/** /**
* *
* @see PhpBrowser::grabAttribute() * @see Mink::grabAttribute()
* @return \Codeception\Maybe * @return \Codeception\Maybe
* ! This method is generated. DO NOT EDIT. ! * ! This method is generated. DO NOT EDIT. !
* ! Documentation taken from corresponding module ! * ! Documentation taken from corresponding module !

6
apps/basic/tests/functional.suite.dist.yml

@ -8,4 +8,8 @@
class_name: TestGuy class_name: TestGuy
modules: modules:
enabled: [Filesystem, TestHelper] enabled: [Filesystem, TestHelper, Yii2]
config:
Yii2:
entryScript: 'www/index-test.php'
url: 'http://localhost/'

36
apps/basic/tests/functional/ContactCept.php

@ -0,0 +1,36 @@
<?php
$I = new TestGuy($scenario);
$I->wantTo('ensure that contact works');
$I->amOnPage('?r=site/contact');
$I->see('Contact', 'h1');
$I->submitForm('#contact-form', array());
$I->see('Contact', 'h1');
$I->see('Name cannot be blank');
$I->see('Email cannot be blank');
$I->see('Subject cannot be blank');
$I->see('Body cannot be blank');
$I->see('The verification code is incorrect');
$I->submitForm('#contact-form', array(
'ContactForm[name]' => 'tester',
'ContactForm[email]' => 'tester.email',
'ContactForm[subject]' => 'test subject',
'ContactForm[body]' => 'test content',
'ContactForm[verifyCode]' => 'testme',
));
$I->dontSee('Name cannot be blank', '.help-inline');
$I->see('Email is not a valid email address.');
$I->dontSee('Subject cannot be blank', '.help-inline');
$I->dontSee('Body cannot be blank', '.help-inline');
$I->dontSee('The verification code is incorrect', '.help-inline');
$I->submitForm('#contact-form', array(
'ContactForm[name]' => 'tester',
'ContactForm[email]' => 'tester@example.com',
'ContactForm[subject]' => 'test subject',
'ContactForm[body]' => 'test content',
'ContactForm[verifyCode]' => 'testme',
));
$I->dontSeeElement('#contact-form');
$I->see('Thank you for contacting us. We will respond to you as soon as possible.');

8
apps/basic/tests/functional/HomeCept.php

@ -0,0 +1,8 @@
<?php
$I = new TestGuy($scenario);
$I->wantTo('ensure that home page works');
$I->amOnPage('');
$I->see('My Company');
$I->seeLink('About');
$I->click('About');
$I->see('This is the About page.');

23
apps/basic/tests/functional/LoginCept.php

@ -0,0 +1,23 @@
<?php
$I = new TestGuy($scenario);
$I->wantTo('ensure that login works');
$I->amOnPage('?r=site/login');
$I->see('Login', 'h1');
$I->submitForm('#login-form', array());
$I->dontSee('Logout (admin)');
$I->see('Username cannot be blank');
$I->see('Password cannot be blank');
$I->submitForm('#login-form', array(
'LoginForm[username]' => 'admin',
'LoginForm[password]' => 'wrong',
));
$I->dontSee('Logout (admin)');
$I->see('Incorrect username or password');
$I->submitForm('#login-form', array(
'LoginForm[username]' => 'admin',
'LoginForm[password]' => 'admin',
));
$I->see('Logout (admin)');

1048
apps/basic/tests/functional/TestGuy.php

File diff suppressed because it is too large Load Diff

4
apps/basic/www/index-test.php

@ -8,8 +8,8 @@ defined('YII_DEBUG') or define('YII_DEBUG', true);
defined('YII_ENV') or define('YII_ENV', 'test'); defined('YII_ENV') or define('YII_ENV', 'test');
require(__DIR__ . '/../vendor/yiisoft/yii2/yii/Yii.php'); require_once(__DIR__ . '/../vendor/yiisoft/yii2/yii/Yii.php');
require(__DIR__ . '/../vendor/autoload.php'); require_once(__DIR__ . '/../vendor/autoload.php');
$config = require(__DIR__ . '/../config/web-test.php'); $config = require(__DIR__ . '/../config/web-test.php');

2
framework/yii/base/ErrorHandler.php

@ -82,7 +82,7 @@ class ErrorHandler extends Component
*/ */
protected function renderException($exception) protected function renderException($exception)
{ {
if (Yii::$app instanceof \yii\console\Application) { if (Yii::$app instanceof \yii\console\Application || YII_ENV === 'test') {
echo Yii::$app->renderException($exception); echo Yii::$app->renderException($exception);
return; return;
} }

4
framework/yii/web/User.php

@ -416,7 +416,9 @@ class User extends Component
public function switchIdentity($identity, $duration = 0) public function switchIdentity($identity, $duration = 0)
{ {
$session = Yii::$app->getSession(); $session = Yii::$app->getSession();
$session->regenerateID(true); if (YII_ENV !== 'test') {
$session->regenerateID(true);
}
$this->setIdentity($identity); $this->setIdentity($identity);
$session->remove($this->idVar); $session->remove($this->idVar);
$session->remove($this->authTimeoutVar); $session->remove($this->authTimeoutVar);

Loading…
Cancel
Save