Skip to content

Commit

Permalink
Update generated code for v734
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Dec 21, 2023
1 parent 16227fe commit 52e17ef
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions test/stripe/generated_examples_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,14 @@ class CodegennedExampleTest < Test::Unit::TestCase
Stripe::FinancialConnections::Account.refresh_account("fca_xyz", { features: ["balance"] })
assert_requested :post, "#{Stripe.api_base}/v1/financial_connections/accounts/fca_xyz/refresh"
end
should "Test financial connections accounts subscribe post" do
Stripe::FinancialConnections::Account.subscribe("fa_123", { features: ["transactions"] })
assert_requested :post, "#{Stripe.api_base}/v1/financial_connections/accounts/fa_123/subscribe"
end
should "Test financial connections accounts unsubscribe post" do
Stripe::FinancialConnections::Account.unsubscribe("fa_123", { features: ["transactions"] })
assert_requested :post, "#{Stripe.api_base}/v1/financial_connections/accounts/fa_123/unsubscribe"
end
should "Test financial connections sessions get" do
Stripe::FinancialConnections::Session.retrieve("fcsess_xyz")
assert_requested :get, "#{Stripe.api_base}/v1/financial_connections/sessions/fcsess_xyz?"
Expand Down Expand Up @@ -642,6 +650,14 @@ class CodegennedExampleTest < Test::Unit::TestCase
})
assert_requested :post, "#{Stripe.api_base}/v1/financial_connections/sessions"
end
should "Test financial connections transactions get" do
Stripe::FinancialConnections::Transaction.retrieve("tr_123")
assert_requested :get, "#{Stripe.api_base}/v1/financial_connections/transactions/tr_123?"
end
should "Test financial connections transactions get 2" do
Stripe::FinancialConnections::Transaction.list({ account: "fca_xyz" })
assert_requested :get, "#{Stripe.api_base}/v1/financial_connections/transactions?account=fca_xyz"
end
should "Test identity verification reports get" do
Stripe::Identity::VerificationReport.list({ limit: 3 })
assert_requested :get, "#{Stripe.api_base}/v1/identity/verification_reports?limit=3"
Expand Down

0 comments on commit 52e17ef

Please sign in to comment.