From 9110b543b518d2592df583b4fe1d824a0a0871a8 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 22 Jan 2016 18:22:58 +0000 Subject: [PATCH] Updates the doc about the configurable test LDAP host. git-svn-id: http://svn.redmine.org/redmine/trunk@15091 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- doc/RUNNING_TESTS | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/RUNNING_TESTS b/doc/RUNNING_TESTS index b3b59aa82..039198fa0 100644 --- a/doc/RUNNING_TESTS +++ b/doc/RUNNING_TESTS @@ -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 ====================== -- 2.39.5