1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-08-02 06:10:14 +02:00

Add tests for method 'getRoles' from class 'Auth'

This commit is contained in:
Marco
2018-03-10 02:56:32 +01:00
parent 012577227a
commit b0bf7647ce

View File

@@ -631,6 +631,9 @@ function showDebugData(\Delight\Auth\Auth $auth, $result) {
echo 'Roles (developer *and* manager)' . "\t\t";
\var_dump($auth->hasAllRoles(\Delight\Auth\Role::DEVELOPER, \Delight\Auth\Role::MANAGER));
echo 'Roles' . "\t\t\t\t\t";
echo \json_encode($auth->getRoles()) . "\n";
echo "\n";
echo '$auth->isRemembered()' . "\t\t\t";