Skip to content

Commit

Permalink
Fix for FindUniqueTest when class mappings are changed
Browse files Browse the repository at this point in the history
  • Loading branch information
archey347 committed Feb 27, 2022
1 parent 20192dc commit dc067af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/sprinkles/account/tests/Integration/FindUniqueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ public function setUp(): void
// Setup test database
$this->setupTestDatabase();
$this->refreshDatabase();

$this->ci->classMapper->setClassMapping('user', 'UserFrosting\Sprinkle\Account\Database\Models\User');
$this->ci->classMapper->setClassMapping('group', 'UserFrosting\Sprinkle\Account\Database\Models\Group');
}

/**
Expand Down

0 comments on commit dc067af

Please sign in to comment.