Issue #2080305 by aaronott: Remove Unused local variable from /core/modules/system/lib/Drupal/system/Tests/Database/FetchTest.php.

8.0.x
webchick 2013-12-04 00:11:37 -08:00
parent 84cbbba81f
commit a65cbe78a7
1 changed files with 0 additions and 1 deletions

View File

@ -126,7 +126,6 @@ class FetchTest extends DatabaseTestBase {
* Confirms that we can fetch an entire column of a result set at once. * Confirms that we can fetch an entire column of a result set at once.
*/ */
function testQueryFetchCol() { function testQueryFetchCol() {
$records = array();
$result = db_query('SELECT name FROM {test} WHERE age > :age', array(':age' => 25)); $result = db_query('SELECT name FROM {test} WHERE age > :age', array(':age' => 25));
$column = $result->fetchCol(); $column = $result->fetchCol();
$this->assertIdentical(count($column), 3, 'fetchCol() returns the right number of records.'); $this->assertIdentical(count($column), 3, 'fetchCol() returns the right number of records.');