summaryrefslogtreecommitdiffstats
path: root/core/modules/system/src/Tests/Database/SelectOrderedTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/system/src/Tests/Database/SelectOrderedTest.php')
-rw-r--r--core/modules/system/src/Tests/Database/SelectOrderedTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/modules/system/src/Tests/Database/SelectOrderedTest.php b/core/modules/system/src/Tests/Database/SelectOrderedTest.php
index 62d4d2a..9e20c8a 100644
--- a/core/modules/system/src/Tests/Database/SelectOrderedTest.php
+++ b/core/modules/system/src/Tests/Database/SelectOrderedTest.php
@@ -25,7 +25,7 @@ class SelectOrderedTest extends DatabaseTestBase {
*/
function testSimpleSelectOrdered() {
$query = db_select('test');
- $name_field = $query->addField('test', 'name');
+ $query->addField('test', 'name');
$age_field = $query->addField('test', 'age', 'age');
$query->orderBy($age_field);
$result = $query->execute();
@@ -46,7 +46,7 @@ class SelectOrderedTest extends DatabaseTestBase {
*/
function testSimpleSelectMultiOrdered() {
$query = db_select('test');
- $name_field = $query->addField('test', 'name');
+ $query->addField('test', 'name');
$age_field = $query->addField('test', 'age', 'age');
$job_field = $query->addField('test', 'job');
$query->orderBy($job_field);
@@ -77,7 +77,7 @@ class SelectOrderedTest extends DatabaseTestBase {
*/
function testSimpleSelectOrderedDesc() {
$query = db_select('test');
- $name_field = $query->addField('test', 'name');
+ $query->addField('test', 'name');
$age_field = $query->addField('test', 'age', 'age');
$query->orderBy($age_field, 'DESC');
$result = $query->execute();