Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bigboss86 committed Jan 5, 2025
1 parent 9ea4a1a commit dcd63d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions tests/Application/Entity/AdminUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@
use Odiseo\SyliusRbacPlugin\Entity\AdministrationRoleAwareTrait;
use Sylius\Component\Core\Model\AdminUser as BaseAdminUser;

/**
* @ORM\Entity
* @ORM\Table(name="sylius_admin_user")
*/
#[ORM\Entity]
#[ORM\Table(name: 'sylius_admin_user')]
class AdminUser extends BaseAdminUser implements AdministrationRoleAwareInterface
{
use AdministrationRoleAwareTrait;
Expand Down
2 changes: 1 addition & 1 deletion tests/Application/config/packages/doctrine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ doctrine:
mappings:
App:
is_bundle: false
type: annotation
type: attribute
dir: '%kernel.project_dir%/Entity'
prefix: 'Tests\Odiseo\SyliusRbacPlugin\Application\Entity'
alias: App

0 comments on commit dcd63d9

Please sign in to comment.