We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c30ba0 commit 0123e40Copy full SHA for 0123e40
test/wc_api_clj/core_test.clj
@@ -47,6 +47,7 @@
47
:shipping_lines [{:method_id "flat_rate"
48
:method_title "Flat Rate"
49
:total "10.00"}]}
50
+ :refund_to_create {:amount "5"}
51
:ckr "ck_86e637eef49ca8f2c864ad7b84dc17b0a7b78750"
52
:csr "cs_0890a046f5b9a30825970a65d8ab8e9c7fa0deb6"
53
:ckw "ck_469b67ce2e12bd1a1b290abf4b1c108e61b4f71c"
test/wc_api_clj/v3/order_refunds_test.clj
@@ -26,8 +26,8 @@
26
:order (:id order)
27
:api_refund false
28
:insecure true
29
- :body (json/write-str {:amount "5"})}
30
- create-order-refund)]
+ :body (json/write-str {:refund_to_create credentials})}
+ create-order-refund)]
31
(is (< 0 (:id refund)))
32
(is (< 0 (-> {:url (:siteurl credentials)
33
:consumer_key (:ckr credentials)
0 commit comments