Skip to content

Commit

Permalink
fix(test): wrong method called in testGeneratesTypeDeclarationsForDat…
Browse files Browse the repository at this point in the history
…eTime
  • Loading branch information
Yovach committed May 13, 2024
1 parent 7de3003 commit d6af843
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Platforms/SQLServerPlatformTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1838,11 +1838,11 @@ public function testGeneratesTypeDeclarationsForDateTime(): void
);
self::assertEquals(
'DATETIME2(6)',
$this->platform->getStringTypeDeclarationSQL(['precision' => -1]),
$this->platform->getDateTimeTypeDeclarationSQL(['precision' => -1]),
);
self::assertEquals(
'DATETIME2(6)',
$this->platform->getStringTypeDeclarationSQL(['precision' => 255]),
$this->platform->getDateTimeTypeDeclarationSQL(['precision' => 255]),
);
}

Expand Down

0 comments on commit d6af843

Please sign in to comment.