Skip to content

Commit

Permalink
fix(tests): remove only() from EventManagerTest.php test case
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Jan 4, 2025
1 parent 6b162a3 commit 9141602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Classes/EventManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static function makeParamsFromEvent(array $args, $eventName = null)
EventManager::fireOrderScheduleEvents();

Event::assertDispatched('automation.order.schedule.hourly', 5);
})->only();
});

it('does not dispatch order schedule hourly event if order is not created within 30 days', function() {
Event::fake();
Expand Down

0 comments on commit 9141602

Please sign in to comment.