Remove unnecessary import

This commit is contained in:
Ayato 2024-02-29 00:42:21 +09:00
parent 4f7028bc82
commit 8544727be2
No known key found for this signature in database
GPG key ID: 56E05AE09DBA012D

View file

@ -10,7 +10,6 @@ import (
"net/url"
"reflect"
"testing"
"time"
"github.com/golang/mock/gomock"
"github.com/stretchr/testify/assert"
@ -1137,8 +1136,7 @@ func TestAuthResponseCode(t *testing.T) {
wantCode: http.StatusOK,
wantLocationHeader: "",
wantBody: "<!doctype html>\n<html>\n<head><meta charset=\"UTF-8\" /></head>\n<body onload=\"javascript:document.forms[0].submit()\">\n<form method=\"post\" action=\"https://example.com/callback\">\n<input type=\"hidden\" name=\"state\" value=\"state1\"/>\n<input type=\"hidden\" name=\"code\" value=\"id1\" />\n\n\n\n</form>\n</body>\n</html>",
},
},
}},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {