Skip to content

Commit d8f1d23

Browse files
committed
fix: cs
Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>
1 parent ce5b508 commit d8f1d23

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎tests/system/Database/ConstraintViolationExceptionTest.php‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ public function testCreatesBaseDatabaseExceptionForNonConstraintError(): void
265265
$this->assertNotInstanceOf(ConstraintViolationException::class, $exception);
266266
}
267267

268-
#[DataProvider('provideSqlsrvConstraintVendorCodesWithNonConstraintSqlstate')]
268+
#[DataProvider('provideCreatesBaseDatabaseExceptionForSqlsrvConstraintVendorCodeWithNonConstraintSqlstate')]
269269
public function testCreatesBaseDatabaseExceptionForSqlsrvConstraintVendorCodeWithNonConstraintSqlstate(string $code): void
270270
{
271271
$exception = self::connection(SQLSRVConnection::class, 'SQLSRV')
@@ -278,11 +278,14 @@ public function testCreatesBaseDatabaseExceptionForSqlsrvConstraintVendorCodeWit
278278
/**
279279
* @return iterable<string, array{string}>
280280
*/
281-
public static function provideSqlsrvConstraintVendorCodesWithNonConstraintSqlstate(): iterable
281+
public static function provideCreatesBaseDatabaseExceptionForSqlsrvConstraintVendorCodeWithNonConstraintSqlstate(): iterable
282282
{
283283
yield 'unique constraint' => ['HY000/2627'];
284+
284285
yield 'unique index' => ['HY000/2601'];
286+
285287
yield 'not null' => ['HY000/515'];
288+
286289
yield 'generic constraint' => ['HY000/547'];
287290
}
288291

0 commit comments

Comments
 (0)