summaryrefslogtreecommitdiff
path: root/internal/command/twofactorverify/twofactorverify_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/command/twofactorverify/twofactorverify_test.go')
-rw-r--r--internal/command/twofactorverify/twofactorverify_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/command/twofactorverify/twofactorverify_test.go b/internal/command/twofactorverify/twofactorverify_test.go
index 9d5f54d..2e9e0ea 100644
--- a/internal/command/twofactorverify/twofactorverify_test.go
+++ b/internal/command/twofactorverify/twofactorverify_test.go
@@ -60,8 +60,7 @@ const (
func TestExecute(t *testing.T) {
requests := setup(t)
- url, cleanup := testserver.StartSocketHttpServer(t, requests)
- defer cleanup()
+ url := testserver.StartSocketHttpServer(t, requests)
testCases := []struct {
desc string