diff --git a/tests/KdybyTests/Clock/ConstantProvider.phpt b/tests/KdybyTests/Clock/ConstantProvider.phpt index 0857215..c308f34 100644 --- a/tests/KdybyTests/Clock/ConstantProvider.phpt +++ b/tests/KdybyTests/Clock/ConstantProvider.phpt @@ -35,7 +35,7 @@ class ConstantProviderTest extends Tester\TestCase sleep(2); - Assert::type('\DateTimeImmutable', $datetime); + Assert::type('DateTimeImmutable', $datetime); Assert::same($datetime, $tp->getDateTime()); Assert::same($date, $tp->getDate()); Assert::same($time->format('%h:%i:%s'), $tp->getTime()->format('%h:%i:%s')); @@ -54,7 +54,7 @@ class ConstantProviderTest extends Tester\TestCase sleep(2); - Assert::type('\DateTimeImmutable', $datetime); + Assert::type('DateTimeImmutable', $datetime); Assert::same($datetime, $tp->getDateTime()); Assert::same($date, $tp->getDate()); Assert::same($time->format('%h:%i:%s'), $tp->getTime()->format('%h:%i:%s')); @@ -73,7 +73,7 @@ class ConstantProviderTest extends Tester\TestCase sleep(2); - Assert::type('\DateTimeImmutable', $datetime); + Assert::type('DateTimeImmutable', $datetime); Assert::same($datetime, $tp->getDateTime()); Assert::same($date, $tp->getDate()); Assert::same($time->format('%h:%i:%s'), $tp->getTime()->format('%h:%i:%s')); diff --git a/tests/KdybyTests/Clock/CurrentProvider.phpt b/tests/KdybyTests/Clock/CurrentProvider.phpt index fb5f529..c9af6a3 100644 --- a/tests/KdybyTests/Clock/CurrentProvider.phpt +++ b/tests/KdybyTests/Clock/CurrentProvider.phpt @@ -35,7 +35,7 @@ class CurrentProviderTest extends Tester\TestCase sleep(2); - Assert::type('\DateTimeImmutable', $datetime); + Assert::type('DateTimeImmutable', $datetime); Assert::same('00:00:00', $date->format('H:i:s')); Assert::notEqual($datetime, $tp->getDateTime()); Assert::notEqual($time->format('%h:%i:%s'), $tp->getTime()->format('%h:%i:%s'));