Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
adiologydev authored and github-actions[bot] committed Jan 13, 2025
1 parent c17d4e0 commit 97f5d59
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/HasCreditsTest.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

use Climactic\Credits\Exceptions\InsufficientCreditsException;
use Climactic\Credits\Tests\TestModels\User;
use Illuminate\Support\Facades\Event;
use Climactic\Credits\Events\CreditsAdded;
use Climactic\Credits\Events\CreditsDeducted;
use Climactic\Credits\Events\CreditsTransferred;
use Climactic\Credits\Exceptions\InsufficientCreditsException;
use Climactic\Credits\Tests\TestModels\User;
use Illuminate\Support\Facades\Event;

beforeEach(function () {
$this->user = User::create([
Expand Down Expand Up @@ -38,7 +38,7 @@

$this->user->addCredits(100.00);

expect(fn() => $this->user->deductCredits(150.00))
expect(fn () => $this->user->deductCredits(150.00))
->toThrow(InsufficientCreditsException::class);
});

Expand Down

0 comments on commit 97f5d59

Please sign in to comment.