diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-07-05 16:07:21 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-07-05 16:07:21 -0400 |
commit | bb8b4c0e36afc05ff5b0cb3ac6465351a696b001 (patch) | |
tree | e7499d04cfe32ed429413c2bbe0c81c33700d36a /tests | |
parent | 67b9a56469b406b44cd1baad4445ddb6d707794f (diff) |
Add task analytics
Diffstat (limited to 'tests')
-rw-r--r-- | tests/units/DatetimeHelperTest.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/units/DatetimeHelperTest.php b/tests/units/DatetimeHelperTest.php index 216cf34c..21d452dd 100644 --- a/tests/units/DatetimeHelperTest.php +++ b/tests/units/DatetimeHelperTest.php @@ -2,13 +2,13 @@ require_once __DIR__.'/Base.php'; -use Helper\Datetime; +use Helper\Dt; class DatetimeHelperTest extends Base { public function testAge() { - $h = new Datetime($this->container); + $h = new Dt($this->container); $this->assertEquals('<15m', $h->age(0, 30)); $this->assertEquals('<30m', $h->age(0, 1000)); @@ -20,7 +20,7 @@ class DatetimeHelperTest extends Base public function testGetDayHours() { - $h = new Datetime($this->container); + $h = new Dt($this->container); $slots = $h->getDayHours(); @@ -36,7 +36,7 @@ class DatetimeHelperTest extends Base public function testGetWeekDays() { - $h = new Datetime($this->container); + $h = new Dt($this->container); $slots = $h->getWeekDays(); @@ -48,7 +48,7 @@ class DatetimeHelperTest extends Base public function testGetWeekDay() { - $h = new Datetime($this->container); + $h = new Dt($this->container); $this->assertEquals('Monday', $h->getWeekDay(1)); $this->assertEquals('Sunday', $h->getWeekDay(7)); |