Skip to content
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.

Commit

Permalink
api/v2: fix bad tests
Browse files Browse the repository at this point in the history
  • Loading branch information
postables committed May 19, 2020
1 parent 6be3469 commit e4f41f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v2/routes_swarm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func Test_Routes_Swarm(t *testing.T) {
if apiResp.Code != 200 {
t.Fatal("bad api response status code from /v2/swarm/upload")
}
if _, err := api.dbm.Upload.FindUploadByHashAndNetwork(apiResp.Response, "etherswarm"); err != nil {
if _, err := api.upm.FindUploadByHashAndNetwork(apiResp.Response, "etherswarm"); err != nil {
t.Fatal(err)
}
}

0 comments on commit e4f41f9

Please sign in to comment.