From e4f41f9d956075f925b8a189e74ee3755063a01e Mon Sep 17 00:00:00 2001 From: postables Date: Tue, 19 May 2020 16:18:46 -0700 Subject: [PATCH] api/v2: fix bad tests --- api/v2/routes_swarm_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v2/routes_swarm_test.go b/api/v2/routes_swarm_test.go index 0f49f79cb..ab82e91a0 100644 --- a/api/v2/routes_swarm_test.go +++ b/api/v2/routes_swarm_test.go @@ -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) } }