Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Mar 14, 2024
1 parent f6483e2 commit 7265236
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Foundation/Tests/ProductSearchTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit 7265236

Please sign in to comment.