public testUpdateArgChangesThrowsException ( callable $cb ) | ||
$cb | callable |
public function testUpdateArgChangesThrowsException(callable $cb)
{
$db = $this->EasyDBExpectedFromCallable($cb);
$this->expectException(InvalidArgumentException::class);
$db->update('irrelevant_but_valid_tablename', [[1]], ['TRUE' => true]);
}