Skip to content

Commit

Permalink
the test environment expects a valid DNS as username
Browse files Browse the repository at this point in the history
  • Loading branch information
vroldanbet committed Nov 12, 2019
1 parent cb4b48c commit dd2a880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/test_return_codes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class TestReturnCodeIntegration < LDAPIntegrationTestCase
def test_open_error
@ldap.authenticate "fake", "creds"
@ldap.authenticate "cn=fake", "creds"
@ldap.open do
result = @ldap.get_operation_result
assert_equal Net::LDAP::ResultCodeInvalidCredentials, result.code
Expand Down

0 comments on commit dd2a880

Please sign in to comment.