summaryrefslogtreecommitdiff
path: root/demos/time-tracker/tests/unit
diff options
context:
space:
mode:
authorJean-Luc Gyger <jean-luc.gyger@vysual.ch>2016-02-11 10:01:12 +0100
committerJean-Luc Gyger <jean-luc.gyger@vysual.ch>2016-02-11 10:01:12 +0100
commitd70861a8f9368773f2f0291454e9420174e6c14a (patch)
treee44a32e401211422fb05da355c9eef4d5934d9e9 /demos/time-tracker/tests/unit
parentd32f65815eb6feb4bcb8a0c85572f722d7826342 (diff)
parent275f16b90a92c62935cb691d11e0bd124acf64e4 (diff)
Merge branch 'master' of https://github.com/majuca/prado
Diffstat (limited to 'demos/time-tracker/tests/unit')
-rwxr-xr-xdemos/time-tracker/tests/unit/UserDaoTestCase.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/demos/time-tracker/tests/unit/UserDaoTestCase.php b/demos/time-tracker/tests/unit/UserDaoTestCase.php
index d288faaf..5cae0f51 100755
--- a/demos/time-tracker/tests/unit/UserDaoTestCase.php
+++ b/demos/time-tracker/tests/unit/UserDaoTestCase.php
@@ -19,7 +19,7 @@ class UserDaoTestCase extends BaseTestCase
if(!$user)
return $this->fail();
$this->assertEqual($user->getName(), 'admin');
- $this->assertEqual($user->getEmailAddress(), 'admin@pradosoft.com');
+ $this->assertEqual($user->getEmailAddress(), 'admin@prado.local');
}
function assertSameUser($user1, $user2)
@@ -99,7 +99,7 @@ class UserDaoTestCase extends BaseTestCase
{
$user = new TimeTrackerUser(new UserManager());
$user->Name = "user1";
- $user->EmailAddress = 'user1@pradosoft.com';
+ $user->EmailAddress = 'user1@prado.local';
$this->userDao->addNewUser($user, 'password');
@@ -155,7 +155,7 @@ class UserDaoTestCase extends BaseTestCase
{
$user = new TimeTrackerUser(new UserManager());
$user->Name = "user1";
- $user->EmailAddress = 'user1@pradosoft.com';
+ $user->EmailAddress = 'user1@prado.local';
$user->Roles = array("manager", "consultant");
$this->userDao->addNewUser($user, 'password');
@@ -169,7 +169,7 @@ class UserDaoTestCase extends BaseTestCase
{
$user = new TimeTrackerUser(new UserManager());
$user->Name = "user1";
- $user->EmailAddress = 'user1@pradosoft.com';
+ $user->EmailAddress = 'user1@prado.local';
$user->Roles = array("manager", "consultant");
try
@@ -189,7 +189,7 @@ class UserDaoTestCase extends BaseTestCase
function testUpdateUser()
{
$user = $this->userDao->getUserByName('admin');
- $user->EmailAddress = 'something@pradosoft.com';
+ $user->EmailAddress = 'something@prado.local';
$user->Roles = array('manager', 'admin');
$this->userDao->updateUser($user);
@@ -203,7 +203,7 @@ class UserDaoTestCase extends BaseTestCase
function testUpdateUserPassword()
{
$user = $this->userDao->getUserByName('admin');
- $user->EmailAddress = 'something@pradosoft.com';
+ $user->EmailAddress = 'something@prado.local';
$user->Roles = array('manager', 'admin');
$pass = 'newpasword';