From 03469409f6dbd01376f9340c33812ae7aea64377 Mon Sep 17 00:00:00 2001 From: Hafez Divandari Date: Tue, 31 Oct 2023 16:23:20 +0330 Subject: [PATCH] fix tests --- tests/Integration/Database/DBAL/TimestampTypeTest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/Integration/Database/DBAL/TimestampTypeTest.php b/tests/Integration/Database/DBAL/TimestampTypeTest.php index a29659febdae..32676ebc82aa 100644 --- a/tests/Integration/Database/DBAL/TimestampTypeTest.php +++ b/tests/Integration/Database/DBAL/TimestampTypeTest.php @@ -40,8 +40,7 @@ public function testChangeDatetimeColumnToTimestampColumn() // Only Postgres and MySQL actually have a timestamp type $this->assertSame( match ($this->driver) { - 'mysql' => 'timestamp', - 'pgsql' => 'timestamp without time zone', + 'mysql', 'pgsql' => 'timestamp', default => 'datetime', }, Schema::getColumnType('test', 'datetime_to_timestamp') @@ -62,7 +61,7 @@ public function testChangeTimestampColumnToDatetimeColumn() // Postgres only has a timestamp type $this->assertSame( match ($this->driver) { - 'pgsql' => 'timestamp without time zone', + 'pgsql' => 'timestamp', 'sqlsrv' => 'datetime2', default => 'datetime', },