mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-31 06:31:41 +00:00
Update Taler calls for new v0.2.0
This commit is contained in:
@@ -354,8 +354,8 @@ RSpec.describe "As a consumer, I want to checkout my order" do
|
||||
# Shortcut the user interaction and go straight to our
|
||||
# confirmation action.
|
||||
taler_order_id = { "order_id" => "taler-order:123" }
|
||||
expect_any_instance_of(Taler::Client)
|
||||
.to receive(:create_order).and_return(taler_order_id)
|
||||
expect_any_instance_of(Taler::Order)
|
||||
.to receive(:create).and_return(taler_order_id)
|
||||
|
||||
# And fake the payment status to avoid user interaction.
|
||||
allow_any_instance_of(Taler::Client)
|
||||
|
||||
Reference in New Issue
Block a user