Skip to content

Commit

Permalink
Merge pull request #23 from codemascot/f/13/refunds
Browse files Browse the repository at this point in the history
Order notes test data moved to core_test.clj
  • Loading branch information
khanrn authored Jan 16, 2021
2 parents 7f8c56e + 87c8e8d commit b82c06c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/wc_api_clj/core_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion test/wc_api_clj/v3/order_notes_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b82c06c

Please sign in to comment.