Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
railken committed Apr 5, 2024
2 parents c43506a + 7358962 commit e6bb167
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"phpunit/phpunit": "*",
"orchestra/testbench": "*",
"amethyst/foo": "0.3.*",
"amethyst/user": "0.3.*"
"amethyst/user": "0.3.*",
"friendsofphp/php-cs-fixer": "^3.52"
},
"autoload": {
"psr-4" : {
Expand Down
2 changes: 1 addition & 1 deletion tests/BaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ protected function setUp(): void
Foo::resolveRelationUsing('ownables', function (Foo $model) {
return $model->morphMany(Ownable::class, 'ownable');
});

$this->artisan('mapper:generate');
\Railken\Lem\Repository::resetScopes();
\Railken\Lem\Repository::addScope(new \Amethyst\Permissions\PermissionScope());
Expand Down

0 comments on commit e6bb167

Please sign in to comment.