Skip to content

Commit 746557e

Browse files
committed
tests(scheduler): fix
1 parent 406201a commit 746557e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/AbstractSchedulerTestCase.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ public function testSchedulerCanScheduleTasksWithCustomTimezone(): void
4949
$fooTask = $tasks->get('foo');
5050
self::assertCount(1, $tasks);
5151
self::assertInstanceOf(DateTimeZone::class, $fooTask->getTimezone());
52-
self::assertSame('Europe/Paris', $fooTask->getName());
52+
self::assertSame('Europe/Paris', $fooTask->getTimezone()->getName());
53+
self::assertSame('foo', $fooTask->getName());
5354
}
5455

5556
/**

0 commit comments

Comments
 (0)