Skip to content

Commit 670b1bb

Browse files
committed
tests
1 parent bbfbff5 commit 670b1bb

File tree

6 files changed

+7
-11
lines changed

6 files changed

+7
-11
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
## 0.5.0 (release date: 2015-03-03)
2+
- New version initial release

image/service/install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@
44
# Add phpLDAPadmin virtualhosts
55
ln -s /osixia/phpldapadmin/apache2/phpldapadmin.conf /etc/apache2/sites-available/phpldapadmin.conf
66
ln -s /osixia/phpldapadmin/apache2/phpldapadmin-ssl.conf /etc/apache2/sites-available/phpldapadmin-ssl.conf
7+
78
cp /osixia/phpldapadmin/config.php /var/www/phpldapadmin_bootstrap/config/config.php
9+
rm /osixia/phpldapadmin/config.php
810

911
cat /osixia/phpldapadmin/php5-fpm/pool.conf >> /etc/php5/fpm/pool.d/www.conf
12+
rm /osixia/phpldapadmin/php5-fpm/pool.conf
1013

1114
mkdir -p /var/www/tmp
1215
chown www-data:www-data /var/www/tmp

image/service/phpldapadmin/assets/apache2/phpldapadmin-ssl.conf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@
2121
#SSLCACertificateFile /osixia/phpldapadmin/apache2/ssl/${SSL_CA_CRT_FILENAME
2222

2323
<Directory /var/www/phpldapadmin/htdocs >
24-
DirectoryIndex index.php
25-
Options +FollowSymLinks
26-
AllowOverride None
27-
2824
Require all granted
2925
</Directory>
3026

image/service/phpldapadmin/assets/apache2/phpldapadmin.conf

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@
77
ErrorLog ${APACHE_LOG_DIR}/error.log
88
CustomLog ${APACHE_LOG_DIR}/access.log combined
99

10-
<Directory /var/www/phpldapadmin/htdocs >
11-
DirectoryIndex index.php
12-
Options +FollowSymLinks
13-
AllowOverride None
14-
10+
<Directory /var/www/phpldapadmin/htdocs >
1511
Require all granted
1612
</Directory>
1713

image/service/phpldapadmin/container-start.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ if [ ! -e "$FIRST_START_DONE" ]; then
126126
find /var/www/ -type d -exec chmod 755 {} \;
127127
find /var/www/ -type f -exec chmod 644 {} \;
128128
chmod 400 /var/www/phpldapadmin/config/config.php
129-
chown www-data:www-data -R /var/www/phpldapadmin/config/config.php
130129
chown www-data:www-data -R /var/www
131130

132131
touch $FIRST_START_DONE

test/test.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ load test_helper
3333
LDAP_IP=$(get_container_ip_by_cid $LDAP_CID)
3434

3535
# we start the wordpress container and set DB_HOSTS
36-
run_image -e LDAP_HOSTS="['$LDAP_IP']"
36+
run_image -e LDAP_HOSTS=$LDAP_IP
3737

3838
# wait openldap
3939
wait_service_by_cid $LDAP_CID slapd

0 commit comments

Comments
 (0)