Issue #3158270 by Hardik_Patel_12, siddhant.bhosale, paulocs: Unused local variables in SelectComplexTest file

merge-requests/2/head
Alex Pott 2020-07-31 15:55:38 +01:00
parent 91ffbf84e7
commit fde0132b02
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
1 changed files with 2 additions and 2 deletions

View File

@ -161,8 +161,8 @@ class SelectComplexTest extends DatabaseTestBase {
*/
public function testRangeUndo() {
$query = $this->connection->select('test');
$name_field = $query->addField('test', 'name');
$age_field = $query->addField('test', 'age', 'age');
$query->addField('test', 'name');
$query->addField('test', 'age', 'age');
$query->range(0, 2);
$query->range(NULL, NULL);
$query_result = $query->countQuery()->execute()->fetchField();