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 15, 2019
1 parent 3455b30 commit ab18e5b
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 ab18e5b

Please sign in to comment.