Replies: 2 comments 2 replies
-
|
Hi @gjm, To perform identity checks against models, you can use the $user = new User(['dn' => 'john', 'cn' => 'John Doe']);
$user->save();
$user2 = User::find('dn=john,dc=local,dc=com');
$this->assertTrue($user->is($user2));The Does this answer your question? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@stevebauman sorry I probably didn't make myself clear. I want to fake the connections. I want to be able to test it out without actually connecting to the server. I thought that was implied. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to test OpenLDAP models? Reading the docs I can only see some shallow docs to test authentication attempts.
I would like to test code that looks something like this:
Is there a way to do something like this?
Beta Was this translation helpful? Give feedback.
All reactions