diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-28 19:48:22 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-28 19:48:22 -0400 |
commit | 14713b0ec7ed93ca45578da069ad4e19a7d8addf (patch) | |
tree | 79972d53f6091a1ddb17f64a6a05a5523f5d5168 /tests/units/Model/TimezoneTest.php | |
parent | 936376ffe74c583d3cb819e98f53a85137fdf8bc (diff) |
Rename all models
Diffstat (limited to 'tests/units/Model/TimezoneTest.php')
-rw-r--r-- | tests/units/Model/TimezoneTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/units/Model/TimezoneTest.php b/tests/units/Model/TimezoneTest.php index ac2cd6a1..8e7103d8 100644 --- a/tests/units/Model/TimezoneTest.php +++ b/tests/units/Model/TimezoneTest.php @@ -2,13 +2,13 @@ require_once __DIR__.'/../Base.php'; -use Kanboard\Model\Timezone; +use Kanboard\Model\TimezoneModel; class TimezoneTest extends Base { public function testGetTimezones() { - $timezoneModel = new Timezone($this->container); + $timezoneModel = new TimezoneModel($this->container); $this->assertNotEmpty($timezoneModel->getTimezones()); $this->assertArrayHasKey('Europe/Paris', $timezoneModel->getTimezones()); $this->assertContains('Europe/Paris', $timezoneModel->getTimezones()); @@ -20,7 +20,7 @@ class TimezoneTest extends Base public function testGetCurrentTimezone() { - $timezoneModel = new Timezone($this->container); + $timezoneModel = new TimezoneModel($this->container); $this->assertEquals('UTC', $timezoneModel->getCurrentTimezone()); $this->container['sessionStorage']->user = array('timezone' => 'Europe/Paris'); |