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

Commit

Permalink
api/v2: add test for finding etherswarm upload
Browse files Browse the repository at this point in the history
  • Loading branch information
postables committed May 19, 2020
1 parent bd0bdda commit 6be3469
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/v2/routes_swarm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +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 {
t.Fatal(err)
}
}

0 comments on commit 6be3469

Please sign in to comment.