10000 WIP: Add Test for updated Ldap user provider refresh method · symfony/symfony@d786f99 · GitHub
[go: up one dir, main page]

Skip to content

Commit d786f99

Browse files
committed
WIP: Add Test for updated Ldap user provider refresh method
1 parent b7d3743 commit d786f99

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Symfony/Component/Ldap/Tests/Security/LdapUserProviderTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,4 +330,12 @@ public function testLoadUserByUsernameIsSuccessfulWithPasswordAttribute()
330330
$provider = new LdapUserProvider($ldap, 'ou=MyBusiness,dc=symfony,dc=com', null, null, [], 'sAMAccountName', '({uid_key}={username})', 'userpassword', ['email']);
331331
$this->assertInstanceOf(LdapUser::class, $provider->loadUserByUsername('foo'));
332332
}
333+
334+
public function testRefreshIsSuccessFullWhenLdapUserIsTheSameAsSessionOne() {
335+
// Todo
336+
}
337+
338+
public function testRefreshFailsWhenLdapUserIsNotTheSameAsSessionOne() {
339+
// Todo
340+
}
333341
}

0 commit comments

Comments
 (0)
0