Use the stored user credentials to look up roles
[catagits/Catalyst-Authentication-Store-LDAP.git] / t / 10-roles-mock.t
index 49a7d18..d4a4a43 100644 (file)
@@ -104,7 +104,12 @@ is_deeply(\@binds, [
         'ou=foobar',
         'password',
         'password'
-    ], # Rebind to confirm user _and_ lookup roles;
+    ], # Rebind to confirm user
+    [
+        'ou=foobar',
+        'password',
+        'password'
+    ], # Rebind with user credentials to find roles
     [ undef ], # Second user search
 ], 'Binds as expected');