diff --git a/tests/index.php b/tests/index.php index 88b8ed5..7aff9c5 100644 --- a/tests/index.php +++ b/tests/index.php @@ -500,3 +500,15 @@ function showGuestUserForm() { echo ''; echo ''; } + +function createRolesOptions() { + $roleReflection = new ReflectionClass(\Delight\Auth\Role::class); + + $out = ''; + + foreach ($roleReflection->getConstants() as $roleName => $roleValue) { + $out .= ''; + } + + return $out; +}