Skip to content

Commit 2b6c8d2

Browse files
committed
Fix for products/update-id
The functions expects :product-id and we were passing :id.
1 parent a9f3afe commit 2b6c8d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/stream/clojure/stripe/e2e_test.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
(is (= "month" (get-in price-result [:body :recurring :interval]))))
9494

9595
;; Archive product (cleanup)
96-
(let [archive-result (products/update-id {:id product-id
96+
(let [archive-result (products/update-id {:product-id product-id
9797
:body {:active false}})]
9898
(is (not (error/anomaly? archive-result))
9999
(str "Product archive failed: " archive-result)))))))

0 commit comments

Comments
 (0)