Skip to content

Commit

Permalink
Improve redirect to embed test
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillplatonov committed Jul 2, 2024
1 parent 406e315 commit af7b0c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/controllers/concerns/embedded_app_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def redirect_to_embed
ShopifyApp.configuration.embedded_app = true

shop = "my-shop.myshopify.com"
get :redirect_to_embed, params: { shop: shop, foo: "bar" }
get :redirect_to_embed, params: { shop: shop, foo: "bar", id_token: "id_token" }
assert_redirected_to "https://#{shop}/admin/apps/#{ShopifyApp.configuration.api_key}/redirect_to_embed?foo=bar"
end

Expand Down

0 comments on commit af7b0c4

Please sign in to comment.