Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ericdude4 committed Aug 20, 2021
1 parent 644b8e1 commit c0e1cb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/shopifex_web/controllers/auth_controller_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ defmodule ShopifexWeb.AuthControllerTest do
[location] = Plug.Conn.get_resp_header(conn, "location")

assert location ==
"https://shopifex.myshopify.com/admin/oauth/authorize?client_id=thisisafakeapikey&scope=read_inventory&redirect_uri=https://shopifex-dummy.com/auth/install"
"https://shopifex.myshopify.com/admin/oauth/authorize?client_id=thisisafakeapikey&scope=orders&redirect_uri=https://shopifex-dummy.com/auth/install"

assert conn.status == 302
end
Expand Down
2 changes: 1 addition & 1 deletion test/support/shopifex_dummy/config/test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ config :shopifex,
plan_schema: ShopifexDummy.Shops.Plan,
repo: ShopifexDummy.Repo,
web_module: ShopifexDummyWeb,
scopes: "read_inventory",
scopes: "orders",
webhook_topics: ["app/uninstalled", "orders/create", "carts/update"],
payment_redirect_uri: "https://shopifex-dummy.com/payment/complete",
redirect_uri: "https://shopifex-dummy.com/auth/install",
Expand Down

0 comments on commit c0e1cb0

Please sign in to comment.