mirror of
https://github.com/element-hq/dendrite.git
synced 2025-03-14 14:15:35 +00:00
fix test
This commit is contained in:
parent
a185027fda
commit
b5f34dfe47
1 changed files with 4 additions and 4 deletions
|
@ -97,9 +97,9 @@ func TestVerifyUserFromRequest(t *testing.T) {
|
|||
return &resp, nil
|
||||
}
|
||||
|
||||
httpClient := http.Client{
|
||||
Transport: &roundTripper{roundTrip: roundTrip},
|
||||
}
|
||||
httpClient := fclient.NewClient(
|
||||
fclient.WithTransport(&roundTripper{roundTrip: roundTrip}),
|
||||
)
|
||||
|
||||
ctx := context.Background()
|
||||
test.WithAllDatabases(t, func(t *testing.T, dbType test.DBType) {
|
||||
|
@ -125,7 +125,7 @@ func TestVerifyUserFromRequest(t *testing.T) {
|
|||
cfg.Global.ServerName,
|
||||
cfg.MSCs.MSC3861,
|
||||
false,
|
||||
&httpClient,
|
||||
httpClient,
|
||||
)
|
||||
if err != nil {
|
||||
t.Fatal(err.Error())
|
||||
|
|
Loading…
Add table
Reference in a new issue