Fix used AS API

This commit is contained in:
Till Faelligen 2022-12-01 13:54:37 +01:00
parent 3a23f48c76
commit 00b57554c1
No known key found for this signature in database
GPG key ID: ACCDC9606D472758

View file

@ -139,12 +139,11 @@ func TestAppserviceInternalAPI(t *testing.T) {
apiURL, cancel := test.ListenAndServe(t, router, false)
defer cancel()
var err error
asAPI, err = inthttp.NewAppserviceClient(apiURL, &http.Client{})
asHTTPApi, err := inthttp.NewAppserviceClient(apiURL, &http.Client{})
if err != nil {
t.Fatalf("failed to create HTTP client: %s", err)
}
runCases(t, asAPI)
runCases(t, asHTTPApi)
})
t.Run("Monolith", func(t *testing.T) {