Skip to content

Commit c9529ee

Browse files
committed
Fix tests for Laravel 5.7
1 parent 4ef68f6 commit c9529ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Unit/Schema/Types/Scalars/DateScalarTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ public function testConvertsCarbonCarbonToIlluminateSupportCarbon(): void
4848

4949
public function testConvertsCarbonCarbonImmutableToIlluminateSupportCarbon(): void
5050
{
51-
// TODO remove when we stop supporting Laravel 5.6
52-
if (! class_exists('\Illuminate\Support\Carbon')) {
51+
// TODO remove when we stop supporting Laravel 5.7
52+
if (! class_exists('\Carbon\CarbonImmutable')) {
5353
$this->markTestSkipped('CarbonImmutable is not available with older Laravel versions');
5454
}
5555

0 commit comments

Comments
 (0)