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.
2 parents 7f8c56e + 87c8e8d commit b82c06cCopy full SHA for b82c06c
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
+ :note_to_create {:note "Test Order Note"}
51
:refund_to_create {:amount "5"}
52
:ckr "ck_86e637eef49ca8f2c864ad7b84dc17b0a7b78750"
53
:csr "cs_0890a046f5b9a30825970a65d8ab8e9c7fa0deb6"
test/wc_api_clj/v3/order_notes_test.clj
@@ -25,7 +25,7 @@
25
:exception false
26
:order (:id order)
27
:insecure true
28
- :body (json/write-str {:note "a order note"})}
+ :body (json/write-str (:note_to_create credentials))}
29
create-order-note)]
30
(is (< 0 (:id note)))
31
(is (< 0 (-> {:url (:siteurl credentials)
0 commit comments