From ce600eec043167f23653ae22b952d35ce548a55b Mon Sep 17 00:00:00 2001 From: Rimian Perkins Date: Tue, 3 Dec 2019 11:00:03 +1100 Subject: [PATCH] fix broken paths --- test/javascripts/acceptance/payments-test.js.es6 | 4 ++-- test/javascripts/components/stripe-card-test.js.es6 | 2 +- test/javascripts/models/plan-test.js.es6 | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/javascripts/acceptance/payments-test.js.es6 b/test/javascripts/acceptance/payments-test.js.es6 index 0931ac6..4978a69 100644 --- a/test/javascripts/acceptance/payments-test.js.es6 +++ b/test/javascripts/acceptance/payments-test.js.es6 @@ -1,5 +1,5 @@ import { acceptance } from "helpers/qunit-helpers"; -import { stubStripe } from "discourse/plugins/discourse-patrons/helpers/stripe"; +import { stubStripe } from "discourse/plugins/discourse-subscriptions/helpers/stripe"; acceptance("Discourse Patrons", { settings: { @@ -12,7 +12,7 @@ acceptance("Discourse Patrons", { }); QUnit.skip("viewing the one-off payment page", async assert => { - await visit("/patrons"); + await visit("/s"); assert.ok($(".donations-page-payment").length, "has payment form class"); }); diff --git a/test/javascripts/components/stripe-card-test.js.es6 b/test/javascripts/components/stripe-card-test.js.es6 index fde27a1..d94be42 100644 --- a/test/javascripts/components/stripe-card-test.js.es6 +++ b/test/javascripts/components/stripe-card-test.js.es6 @@ -1,5 +1,5 @@ import componentTest from "helpers/component-test"; -import { stubStripe } from "discourse/plugins/discourse-patrons/helpers/stripe"; +import { stubStripe } from "discourse/plugins/discourse-subscriptions/helpers/stripe"; moduleForComponent("stripe-card", { integration: true }); diff --git a/test/javascripts/models/plan-test.js.es6 b/test/javascripts/models/plan-test.js.es6 index 5523e97..52b99a9 100644 --- a/test/javascripts/models/plan-test.js.es6 +++ b/test/javascripts/models/plan-test.js.es6 @@ -1,4 +1,4 @@ -import Plan from "discourse/plugins/discourse-patrons/discourse/models/plan"; +import Plan from "discourse/plugins/discourse-subscriptions/discourse/models/plan"; QUnit.module("discourse-patrons:model:plan");