Skip to content

Commit c0a86fd

Browse files
committed
test: skip test on OCI8, Postgre, SQLSRV
1 parent 7f7be9a commit c0a86fd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/system/Models/UpdateModelTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,14 @@ public function testUpdateWithEntityNoAllowedFields(): void
380380

381381
public function testUpdateEntityWithPrimaryKeyCast(): void
382382
{
383+
if (
384+
$this->db->DBDriver === 'OCI8'
385+
|| $this->db->DBDriver === 'Postgre'
386+
|| $this->db->DBDriver === 'SQLSRV'
387+
) {
388+
$this->markTestSkipped($this->db->DBDriver . ' does not work with binary data as string data.');
389+
}
390+
383391
$this->createUuidTable();
384392

385393
$this->createModel(UUIDPkeyModel::class);

0 commit comments

Comments
 (0)