Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvanassche committed May 2, 2024
1 parent 169d2aa commit 0245635
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/FlareMiddleware/AddExceptionHandledTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Spatie\FlareClient\Report;
use Spatie\LaravelIgnition\Facades\Flare;

it('can see when an exception is handled, meaning it is reported', function (){
it('can see when an exception is handled, meaning it is reported', function () {
$handler = new class(app()) extends Handler {
public static Report $report;

Expand All @@ -15,7 +15,7 @@ public function report(Throwable $e)
}
};

app()->bind(ExceptionHandler::class, fn() => $handler);
app()->bind(ExceptionHandler::class, fn () => $handler);

$someTriggeredException = new Exception('This is a test exception');

Expand All @@ -26,7 +26,7 @@ public function report(Throwable $e)
->toHaveKey('handled', true);
});

it('will not mark an exception handled when it is not', function (){
it('will not mark an exception handled when it is not', function () {
$someTriggeredException = new Exception('This is a test exception');

$report = Flare::createReport($someTriggeredException);
Expand Down

0 comments on commit 0245635

Please sign in to comment.