We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 821913c commit 523d14eCopy full SHA for 523d14e
1 file changed
tests/system/Database/Live/TransactionTest.php
@@ -58,6 +58,7 @@ protected function enableDBDebug(): void
58
public function testTransStartDBDebugTrue()
59
{
60
$builder = $this->db->table('job');
61
+ $e = null;
62
63
try {
64
$this->db->transStart();
@@ -81,6 +82,7 @@ public function testTransStartDBDebugTrue()
81
82
// Do nothing.
83
}
84
85
+ $this->assertInstanceOf(DatabaseException::class, $e);
86
$this->dontSeeInDatabase('job', ['name' => 'Grocery Sales']);
87
88
0 commit comments