1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-11 13:15:20 +00:00

Updates the doc about the configurable test LDAP host.

git-svn-id: http://svn.redmine.org/redmine/trunk@15091 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2016-01-22 18:22:58 +00:00
parent 90159ef1cf
commit 9110b543b5

View File

@ -30,7 +30,7 @@ unpacked into {redmine_root}/tmp/test.
If the test repositories are not present, the tests that need them will be
skipped.
Creating a test ldap database
Creating a test LDAP database
=============================
Redmine supports using LDAP for user authentications. To test LDAP
@ -38,6 +38,9 @@ with Redmine, load the LDAP export from test/fixtures/ldap/test-ldap.ldif
into a testing LDAP server. Make sure that the LDAP server can be accessed
at 127.0.0.1 on port 389.
If your LDAP server is not running on localhost, you can use the
REDMINE_TEST_LDAP_SERVER environment variable to specify another host.
Setting up the test LDAP server is beyond the scope of this documentation.
The OpenLDAP project provides a simple LDAP implementation that should work
good as a test server.
@ -57,8 +60,8 @@ You need an empty repository accessible at http://127.0.0.1/svn/ecookbook
Then, you can run the tests with:
`ruby test\extra\redmine_pm\repository_subversion_test.rb`
If you svn server is not running on localhost, you can use the REDMINE_TEST_DAV_SERVER
environment variable to specify another host.
If your svn server is not running on localhost, you can use the
REDMINE_TEST_DAV_SERVER environment variable to specify another host.
Running Capybara tests
======================