Skip to content

Commit

Permalink
test: add test for roles with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
sitepark-veltrup committed Aug 30, 2024
1 parent 7bd617e commit 9cca127
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions test/RealmPropertiesUserLoaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ public function testLoaderUser()
'',
[],
),
'role-with-space' => $this->createUser(
'role-with-space',
'develop',
['ROLE_TEST1', 'ROLE_TEST2'],
),
];
$this->assertEquals(
$expected,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
api: develop,api,test
no-roles: develop
empty-password:
ignore-invalid:test:test
ignore-invalid:test:test
role-with-space: develop , test1 , test2

0 comments on commit 9cca127

Please sign in to comment.