diff --git a/test/RealmPropertiesUserLoaderTest.php b/test/RealmPropertiesUserLoaderTest.php index 8771c89..b4fcbf6 100644 --- a/test/RealmPropertiesUserLoaderTest.php +++ b/test/RealmPropertiesUserLoaderTest.php @@ -67,6 +67,11 @@ public function testLoaderUser() '', [], ), + 'role-with-space' => $this->createUser( + 'role-with-space', + 'develop', + ['ROLE_TEST1', 'ROLE_TEST2'], + ), ]; $this->assertEquals( $expected, diff --git a/test/resources/RealmPropertiesUserLoaderTest/realm.properties b/test/resources/RealmPropertiesUserLoaderTest/realm.properties index 1c11f63..1a3bea2 100644 --- a/test/resources/RealmPropertiesUserLoaderTest/realm.properties +++ b/test/resources/RealmPropertiesUserLoaderTest/realm.properties @@ -2,4 +2,5 @@ api: develop,api,test no-roles: develop empty-password: -ignore-invalid:test:test \ No newline at end of file +ignore-invalid:test:test +role-with-space: develop , test1 , test2