mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Fix user test case: DateTimeZone comparison
This commit is contained in:
parent
fb0f0b5b76
commit
d348477455
@ -65,7 +65,8 @@ class UserTest extends \PHPUnit_Framework_TestCase
|
||||
'timezone' => $explicitTz
|
||||
));
|
||||
$user->setPreferences($prefs);
|
||||
$this->assertEquals($user->getTimeZone(), new DateTimeZone($defaultTz),
|
||||
|
||||
$this->assertEquals($user->getTimeZone(), new DateTimeZone($explicitTz),
|
||||
'User\'s timezone does not match the timezone set by himself'
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user