Skip to content

Commit

Permalink
Add Schema import to ApprovalStateScopeTest
Browse files Browse the repository at this point in the history
In this commit, Schema import has been added to the ApprovalStateScopeTest. This extra import is necessary for the functioning of our DB tests and ensures that the test for Approval Model states runs smoothly.
  • Loading branch information
cjmellor committed Feb 17, 2024
1 parent 98f3385 commit 2b0982d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Feature/Scopes/ApprovalStateScopeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Cjmellor\Approval\Models\Approval;
use Cjmellor\Approval\Tests\Models\FakeModel;
use Illuminate\Support\Facades\Event;
use Illuminate\Support\Facades\Schema;

test('Check if an Approval Model is approved', closure: function (): void {
$this->approvalData = [
Expand Down

0 comments on commit 2b0982d

Please sign in to comment.