diff --git a/test/wc_api_clj/core_test.clj b/test/wc_api_clj/core_test.clj index 5ab5ee0..16f6470 100644 --- a/test/wc_api_clj/core_test.clj +++ b/test/wc_api_clj/core_test.clj @@ -47,6 +47,7 @@ :shipping_lines [{:method_id "flat_rate" :method_title "Flat Rate" :total "10.00"}]} + :note_to_create {:note "Test Order Note"} :refund_to_create {:amount "5"} :ckr "ck_86e637eef49ca8f2c864ad7b84dc17b0a7b78750" :csr "cs_0890a046f5b9a30825970a65d8ab8e9c7fa0deb6" diff --git a/test/wc_api_clj/v3/order_notes_test.clj b/test/wc_api_clj/v3/order_notes_test.clj index 0927417..1c8f252 100644 --- a/test/wc_api_clj/v3/order_notes_test.clj +++ b/test/wc_api_clj/v3/order_notes_test.clj @@ -25,7 +25,7 @@ :exception false :order (:id order) :insecure true - :body (json/write-str {:note "a order note"})} + :body (json/write-str (:note_to_create credentials))} create-order-note)] (is (< 0 (:id note))) (is (< 0 (-> {:url (:siteurl credentials)