db2 driver updates

This commit is contained in:
Mark Gregory
2026-11-11 13:18:47 +00:00
parent 76037ff72b
commit e85ab1da7b
46 changed files with 100 additions and 6663 deletions
+4 -2
View File
@@ -2,6 +2,8 @@
namespace Tests\Feature\Db2;
use Illuminate\Database\QueryException;
class UpsertTest extends Db2TestCase
{
private string $tableName = '';
@@ -10,7 +12,7 @@ class UpsertTest extends Db2TestCase
{
parent::setUp();
$this->tableName = 'DB2_TEST.DB2T_' .
$this->tableName = 'DB2_TEST.DB2T_'.
strtoupper(bin2hex(random_bytes(6)));
$this->db()->statement("
@@ -216,7 +218,7 @@ class UpsertTest extends Db2TestCase
public function test_insert_or_ignore_does_not_hide_check_violations(): void
{
$this->expectException(
\Illuminate\Database\QueryException::class
QueryException::class
);
$this->db()->table($this->tableName)->insertOrIgnore([