Skip to content
Snippets Groups Projects
Commit d7f54e8d authored by Angie Byron's avatar Angie Byron
Browse files

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
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment