Issue #2080291 by justinchev: Remove Unused local variable from /core/modules/system/lib/Drupal/system/Tests/Database/CaseSensitivityTest.php.

8.0.x
webchick 2013-12-04 00:05:32 -08:00
parent 63caf949e7
commit afe1ae54f7
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class CaseSensitivityTest extends DatabaseTestBase {
function testCaseSensitiveInsert() { function testCaseSensitiveInsert() {
$num_records_before = db_query('SELECT COUNT(*) FROM {test}')->fetchField(); $num_records_before = db_query('SELECT COUNT(*) FROM {test}')->fetchField();
$john = db_insert('test') db_insert('test')
->fields(array( ->fields(array(
'name' => 'john', // <- A record already exists with name 'John'. 'name' => 'john', // <- A record already exists with name 'John'.
'age' => 2, 'age' => 2,