summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected700
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/protected700')
-rw-r--r--tests/FunctionalTests/tickets/protected700/common/BasePage.php134
-rw-r--r--tests/FunctionalTests/tickets/protected700/layout/MainLayout.php22
-rw-r--r--tests/FunctionalTests/tickets/protected700/pages/UserLogin.php24
3 files changed, 90 insertions, 90 deletions
diff --git a/tests/FunctionalTests/tickets/protected700/common/BasePage.php b/tests/FunctionalTests/tickets/protected700/common/BasePage.php
index 1e40f754..bbb93650 100644
--- a/tests/FunctionalTests/tickets/protected700/common/BasePage.php
+++ b/tests/FunctionalTests/tickets/protected700/common/BasePage.php
@@ -1,68 +1,68 @@
-<?php
-
-class BasePage extends TPage
-{
- private $_param1='default 1';
- private $_param2='default 2';
- private $_param3='default 3';
- private $_param4='default 4';
- private $_param5='default 5';
-
- public function onInit($param)
- {
- parent::onInit($param);
- $this->Title=$this->PagePath;
- }
-
- public function getParam1()
- {
- return $this->_param1;
- }
-
- public function setParam1($value)
- {
- $this->_param1=$value;
- }
-
- public function getParam2()
- {
- return $this->_param2;
- }
-
- public function setParam2($value)
- {
- $this->_param2=$value;
- }
-
- public function getParam3()
- {
- return $this->_param3;
- }
-
- public function setParam3($value)
- {
- $this->_param3=$value;
- }
-
- public function getParam4()
- {
- return $this->_param4;
- }
-
- public function setParam4($value)
- {
- $this->_param4=$value;
- }
-
- public function getParam5()
- {
- return $this->_param5;
- }
-
- public function setParam5($value)
- {
- $this->_param5=$value;
- }
-}
-
+<?php
+
+class BasePage extends TPage
+{
+ private $_param1='default 1';
+ private $_param2='default 2';
+ private $_param3='default 3';
+ private $_param4='default 4';
+ private $_param5='default 5';
+
+ public function onInit($param)
+ {
+ parent::onInit($param);
+ $this->Title=$this->PagePath;
+ }
+
+ public function getParam1()
+ {
+ return $this->_param1;
+ }
+
+ public function setParam1($value)
+ {
+ $this->_param1=$value;
+ }
+
+ public function getParam2()
+ {
+ return $this->_param2;
+ }
+
+ public function setParam2($value)
+ {
+ $this->_param2=$value;
+ }
+
+ public function getParam3()
+ {
+ return $this->_param3;
+ }
+
+ public function setParam3($value)
+ {
+ $this->_param3=$value;
+ }
+
+ public function getParam4()
+ {
+ return $this->_param4;
+ }
+
+ public function setParam4($value)
+ {
+ $this->_param4=$value;
+ }
+
+ public function getParam5()
+ {
+ return $this->_param5;
+ }
+
+ public function setParam5($value)
+ {
+ $this->_param5=$value;
+ }
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/protected700/layout/MainLayout.php b/tests/FunctionalTests/tickets/protected700/layout/MainLayout.php
index 3e0a3d19..6f385ce8 100644
--- a/tests/FunctionalTests/tickets/protected700/layout/MainLayout.php
+++ b/tests/FunctionalTests/tickets/protected700/layout/MainLayout.php
@@ -1,12 +1,12 @@
-<?php
-
-class MainLayout extends TTemplateControl
-{
- public function logout($sender,$param)
- {
- $this->Application->getModule('auth')->logout();
- $this->Response->reload();
- }
-}
-
+<?php
+
+class MainLayout extends TTemplateControl
+{
+ public function logout($sender,$param)
+ {
+ $this->Application->getModule('auth')->logout();
+ $this->Response->reload();
+ }
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/protected700/pages/UserLogin.php b/tests/FunctionalTests/tickets/protected700/pages/UserLogin.php
index 37258879..8071fb29 100644
--- a/tests/FunctionalTests/tickets/protected700/pages/UserLogin.php
+++ b/tests/FunctionalTests/tickets/protected700/pages/UserLogin.php
@@ -1,13 +1,13 @@
-<?php
-
-class UserLogin extends BasePage
-{
- public function loginButtonClicked($sender,$param)
- {
- $authManager=$this->Application->getModule('auth');
- $authManager->login($this->Username->Text,$this->Password->Text);
- $this->Response->redirect($this->Service->constructUrl('Home'));
- }
-}
-
+<?php
+
+class UserLogin extends BasePage
+{
+ public function loginButtonClicked($sender,$param)
+ {
+ $authManager=$this->Application->getModule('auth');
+ $authManager->login($this->Username->Text,$this->Password->Text);
+ $this->Response->redirect($this->Service->constructUrl('Home'));
+ }
+}
+
?> \ No newline at end of file