diff options
Diffstat (limited to 'api4/ldap_test.go')
-rw-r--r-- | api4/ldap_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api4/ldap_test.go b/api4/ldap_test.go index 6d79a92ad..d259bbb4a 100644 --- a/api4/ldap_test.go +++ b/api4/ldap_test.go @@ -9,7 +9,7 @@ import ( func TestLdapTest(t *testing.T) { th := Setup().InitBasic().InitSystemAdmin() - defer TearDown() + defer th.TearDown() _, resp := th.Client.TestLdap() CheckForbiddenStatus(t, resp) @@ -20,7 +20,7 @@ func TestLdapTest(t *testing.T) { func TestLdapSync(t *testing.T) { th := Setup().InitBasic().InitSystemAdmin() - defer TearDown() + defer th.TearDown() _, resp := th.SystemAdminClient.SyncLdap() CheckNoError(t, resp) |