Skip to content

Commit 1f81d2b

Browse files
committed
test: add assertion
1 parent a4329dd commit 1f81d2b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tests/system/Database/Live/PreparedQueryTest.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ public function testExecuteRunsQueryAndReturnsResultObject()
107107
$this->query->execute('foo', 'foo@example.com', 'US');
108108
$this->query->execute('bar', 'bar@example.com', 'GB');
109109

110+
$this->dontSeeInDatabase($this->db->DBPrefix . 'user', ['name' => 'a', 'email' => 'b@example.com']);
110111
$this->seeInDatabase($this->db->DBPrefix . 'user', ['name' => 'foo', 'email' => 'foo@example.com']);
111112
$this->seeInDatabase($this->db->DBPrefix . 'user', ['name' => 'bar', 'email' => 'bar@example.com']);
112113
}

0 commit comments

Comments
 (0)