Commit d7f54e8d authored by webchick's avatar webchick

Issue #2080119 by mcrittenden: Remove Unused local variable from...

Issue #2080119 by mcrittenden: Remove Unused local variable  from /core/modules/system/lib/Drupal/system/Tests/Database/InsertDefaultsTest.php.
parent a65cbe78
......@@ -42,7 +42,7 @@ function testDefaultEmptyInsert() {
$num_records_before = (int) db_query('SELECT COUNT(*) FROM {test}')->fetchField();
try {
$result = db_insert('test')->execute();
db_insert('test')->execute();
// This is only executed if no exception has been thrown.
$this->fail('Expected exception NoFieldsException has not been thrown.');
} catch (NoFieldsException $e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment