mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-17 14:18:24 +01:00
[ticket/12574] Run LDAP test as slow test and install ldap extension
PHPBB3-12574
This commit is contained in:
parent
2c3a24b678
commit
0cd7033baa
@ -11,6 +11,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @group slow
|
||||
*/
|
||||
class phpbb_auth_provider_ldap_test extends phpbb_database_test_case
|
||||
{
|
||||
/** @var \phpbb\auth\provider\ldap */
|
||||
|
@ -15,7 +15,7 @@ SLOWTESTS=$1
|
||||
|
||||
if [ "$SLOWTESTS" == '1' ]
|
||||
then
|
||||
sudo apt-get -y install ldap-utils slapd
|
||||
sudo apt-get -y install ldap-utils slapd php5-ldap
|
||||
echo "extension = ldap.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
||||
mkdir /tmp/slapd
|
||||
slapd -f travis/ldap/slapd.conf -h ldap://localhost:3389 &
|
||||
|
Loading…
x
Reference in New Issue
Block a user