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 Jul 9, 2024
1 parent 72b5f70 commit 3f8c56b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions src/Promotion/Tests/PromotionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ public function all_mutable_fields_can_be_mass_assigned()
'starts_at' => $now,
'ends_at' => $nextMonth,
'applies_to_discounted' => false,

]);

$this->assertEquals('PROMO-1', $promotion->code);
Expand Down Expand Up @@ -63,7 +62,6 @@ public function all_mutable_fields_can_be_set()
$promotion->starts_at = $now;
$promotion->ends_at = $nextMonth;


$this->assertEquals('PROMO-1', $promotion->code);
$this->assertEquals('Awesome promotion', $promotion->name);
$this->assertEquals('The description', $promotion->description);
Expand Down
2 changes: 1 addition & 1 deletion src/Promotion/Tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ protected function setUp(): void
parent::setUp();

$this->setUpDatabase($this->app);
$this->withFactories(__DIR__.'/factories');
$this->withFactories(__DIR__ . '/factories');
}

protected function getPackageProviders($app)
Expand Down
1 change: 0 additions & 1 deletion src/Promotion/Tests/factories/PromotionFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@
'applies_to_discounted' => false,
];
});

0 comments on commit 3f8c56b

Please sign in to comment.