From 72652363938d8d0305bcc5a2244850d076f8b188 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 14 Mar 2024 17:45:08 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Foundation/Tests/ProductSearchTest.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Foundation/Tests/ProductSearchTest.php b/src/Foundation/Tests/ProductSearchTest.php index cbf17c08f..6087be9c6 100644 --- a/src/Foundation/Tests/ProductSearchTest.php +++ b/src/Foundation/Tests/ProductSearchTest.php @@ -524,7 +524,6 @@ public function it_can_order_the_results_by_an_explicit_field() factory(Product::class)->create(['name' => 'Hapsi']); factory(Product::class)->create(['name' => 'Kozmix']); - $resultset = (new ProductSearch())->orderBy('name')->getResults()->all(); $this->assertEquals('Aber', $resultset[0]->name); $this->assertEquals('Biotronic', $resultset[1]->name); @@ -543,7 +542,6 @@ public function it_can_order_and_limit_the_results() factory(Product::class)->create(['name' => 'Dogecoin']); factory(Product::class)->create(['name' => 'Avalanche']); - $resultset = (new ProductSearch())->orderBy('name')->getResults(3)->all(); $this->assertEquals('Avalanche', $resultset[0]->name); $this->assertEquals('Bitcoin', $resultset[1]->name);