db2 driver updates
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user