@@ -23,7 +23,6 @@ import (
2323 logTest "github.com/tidepool-org/platform/log/test"
2424 "github.com/tidepool-org/platform/oura/customerio"
2525 "github.com/tidepool-org/platform/oura/jotform"
26- jotformTest "github.com/tidepool-org/platform/oura/jotform/test"
2726 shopfiyTest "github.com/tidepool-org/platform/oura/shopify/test"
2827 userTest "github.com/tidepool-org/platform/user/test"
2928)
@@ -101,15 +100,15 @@ var _ = Describe("WebhookProcessor", func() {
101100 submissionID := "6410095903544943563"
102101 userID := "1aacb960-430c-4081-8b3b-a32688807dc5"
103102
104- submission , err := jotformTest .LoadFixture ("./test/fixtures/submission.json" )
103+ submission , err := ouraTest .LoadFixture ("./test/fixtures/submission.json" )
105104 Expect (err ).ToNot (HaveOccurred ())
106105
107106 jotformResponses .AddResponse (
108107 []ouraTest.RequestMatcher {ouraTest .NewRequestMethodAndPathMatcher (http .MethodGet , "/v1/submission/" + submissionID )},
109108 ouraTest.Response {StatusCode : http .StatusOK , Body : submission },
110109 )
111110
112- customer , err := jotformTest .LoadFixture ("./test/fixtures/customer.json" )
111+ customer , err := ouraTest .LoadFixture ("./test/fixtures/customer.json" )
113112 Expect (err ).ToNot (HaveOccurred ())
114113
115114 appAPIResponses .AddResponse (
@@ -171,15 +170,15 @@ var _ = Describe("WebhookProcessor", func() {
171170 submissionID := "6410095903544943563"
172171 userID := "1aacb960-430c-4081-8b3b-a32688807dc5"
173172
174- submission , err := jotformTest .LoadFixture ("./test/fixtures/submission.json" )
173+ submission , err := ouraTest .LoadFixture ("./test/fixtures/submission.json" )
175174 Expect (err ).ToNot (HaveOccurred ())
176175
177176 jotformResponses .AddResponse (
178177 []ouraTest.RequestMatcher {ouraTest .NewRequestMethodAndPathMatcher (http .MethodGet , "/v1/submission/" + submissionID )},
179178 ouraTest.Response {StatusCode : http .StatusOK , Body : submission },
180179 )
181180
182- customer , err := jotformTest .LoadFixture ("./test/fixtures/customer.json" )
181+ customer , err := ouraTest .LoadFixture ("./test/fixtures/customer.json" )
183182 Expect (err ).ToNot (HaveOccurred ())
184183
185184 appAPIResponses .AddResponse (
@@ -231,7 +230,7 @@ var _ = Describe("WebhookProcessor", func() {
231230 submissionID := "6410095903544943563"
232231 userID := "1aacb960-430c-4081-8b3b-a32688807dc5"
233232
234- submission , err := jotformTest .LoadFixture ("./test/fixtures/submission.json" )
233+ submission , err := ouraTest .LoadFixture ("./test/fixtures/submission.json" )
235234 Expect (err ).ToNot (HaveOccurred ())
236235
237236 jotformResponses .AddResponse (
@@ -252,7 +251,7 @@ var _ = Describe("WebhookProcessor", func() {
252251 submissionID := "6410095903544943563"
253252 userID := "1aacb960-430c-4081-8b3b-a32688807dc5"
254253
255- submission , err := jotformTest .LoadFixture ("./test/fixtures/submission_participant_mismatch.json" )
254+ submission , err := ouraTest .LoadFixture ("./test/fixtures/submission_participant_mismatch.json" )
256255 Expect (err ).ToNot (HaveOccurred ())
257256
258257 jotformResponses .AddResponse (
@@ -273,15 +272,15 @@ var _ = Describe("WebhookProcessor", func() {
273272 submissionID := "6410095903544943563"
274273 userID := "1aacb960-430c-4081-8b3b-a32688807dc5"
275274
276- submission , err := jotformTest .LoadFixture ("./test/fixtures/submission.json" )
275+ submission , err := ouraTest .LoadFixture ("./test/fixtures/submission.json" )
277276 Expect (err ).ToNot (HaveOccurred ())
278277
279278 jotformResponses .AddResponse (
280279 []ouraTest.RequestMatcher {ouraTest .NewRequestMethodAndPathMatcher (http .MethodGet , "/v1/submission/" + submissionID )},
281280 ouraTest.Response {StatusCode : http .StatusOK , Body : submission },
282281 )
283282
284- customer , err := jotformTest .LoadFixture ("./test/fixtures/customer.json" )
283+ customer , err := ouraTest .LoadFixture ("./test/fixtures/customer.json" )
285284 Expect (err ).ToNot (HaveOccurred ())
286285
287286 appAPIResponses .AddResponse (
0 commit comments