Test for default instrumentation service on Global Catalog

This commit is contained in:
Dave Sims 2016-07-25 10:40:02 -05:00
Родитель 3cf1c5adfb
Коммит baef44dc68
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -151,9 +151,11 @@ module GitHubLdapTestCases
def test_global_catalog_default_settings
@ldap.expects(:active_directory_capability?).returns(true)
global_catalog = @ldap.global_catalog_connection
instrumentation_service = global_catalog.instance_variable_get(:@instrumentation_service)
assert_equal "localhost", global_catalog.host
assert_equal 3268, global_catalog.port
assert_equal "MockInstrumentationService", instrumentation_service.class.name
end
module GitHubLdapUnauthenticatedTestCases