diff --git a/src/tests/modules/ldap/xlat.unlang b/src/tests/modules/ldap/xlat.unlang index 38c57b2b7330..9bebce63b1bd 100644 --- a/src/tests/modules/ldap/xlat.unlang +++ b/src/tests/modules/ldap/xlat.unlang @@ -54,7 +54,7 @@ if (!(&Tmp-String-6 == "John Doe")) { # Return multiple values - could be in any sequence &Tmp-String-7 := %ldap("ldap://$ENV{LDAP_TEST_SERVER}:$ENV{LDAP_TEST_SERVER_PORT}/ou=clients,dc=example,dc=com?freeradiusClientIdentifier?sub?(objectClass=freeradiusClient)") -if !((&Tmp-String-7[1] == "1.1.1.1") && (&Tmp-String-7[2] == "2.2.2.2")) { +if !((&Tmp-String-7[0] == "1.1.1.1") && (&Tmp-String-7[1] == "2.2.2.2")) { test_fail }