diff --git a/phpunit.xml b/phpunit.xml index 49661e5..370faf0 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -21,7 +21,8 @@ - + + diff --git a/src/Common/Infrastructure/helpers.php b/src/Common/Infrastructure/helpers.php new file mode 100644 index 0000000..0c56e92 --- /dev/null +++ b/src/Common/Infrastructure/helpers.php @@ -0,0 +1,16 @@ +{$ability}(...$arguments)) { + return true; + } + throw new UnauthorizedUserException(); + } +}