1
0
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:
Marc Alexander 2019-11-01 12:03:45 +01:00
parent 2c3a24b678
commit 0cd7033baa
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995
2 changed files with 4 additions and 1 deletions

View File

@ -11,6 +11,9 @@
*
*/
/**
* @group slow
*/
class phpbb_auth_provider_ldap_test extends phpbb_database_test_case
{
/** @var \phpbb\auth\provider\ldap */

View File

@ -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 &