Skip to content

Commit

Permalink
fix broken subscription test
Browse files Browse the repository at this point in the history
  • Loading branch information
bnns committed Nov 19, 2017
1 parent dad75f9 commit 59535fe
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/subscriptions/subscription_item_test.exs
Expand Up @@ -5,7 +5,6 @@ defmodule Stripe.SubscriptionItemTest do
alias Stripe.Fixture.Token, as: TokenFixture

@addon_id "addon_plan"
@moduletag :addon

setup do
{:ok, customer} = Customer.create([])
Expand All @@ -15,9 +14,9 @@ defmodule Stripe.SubscriptionItemTest do
Customer.create_card(customer["id"], card["id"])

Plan.delete(@addon_id)
Plan.delete("sub_test_plan")
{:ok, plan} = Plan.create(name: "sub_test_plan",
id: "sub_test_plan",
Plan.delete("sub_item_test_plan")
{:ok, plan} = Plan.create(name: "sub_item_test_plan",
id: "sub_item_test_plan",
amount: 999,
currency: "usd",
interval: "month")
Expand Down

0 comments on commit 59535fe

Please sign in to comment.