From b1acfdf201eea48e813599b14b14dadd08c9ec52 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Tue, 14 Jan 2025 10:16:03 +0100 Subject: [PATCH] Fix qunit tests --- plugin.rb | 2 +- test/javascripts/acceptance/admin-wizards-api-test.js | 2 +- .../acceptance/admin-wizards-business-subscription-test.js | 2 +- .../acceptance/admin-wizards-standard-subscription-test.js | 2 +- test/javascripts/acceptance/admin-wizards-unsubscribed-test.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugin.rb b/plugin.rb index 0d5711d2..ba784174 100644 --- a/plugin.rb +++ b/plugin.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # name: discourse-custom-wizard # about: Forms for Discourse. Better onboarding, structured posting, data enrichment, automated actions and much more. -# version: 2.10.0 +# version: 2.10.1 # authors: Angus McLeod, Faizaan Gagan, Robert Barrow, Keegan George, Kaitlin Maddever, Juan Marcos Gutierrez Ramos # url: https://github.com/paviliondev/discourse-custom-wizard # contact_emails: development@pavilion.tech diff --git a/test/javascripts/acceptance/admin-wizards-api-test.js b/test/javascripts/acceptance/admin-wizards-api-test.js index 597801c5..43fb0308 100644 --- a/test/javascripts/acceptance/admin-wizards-api-test.js +++ b/test/javascripts/acceptance/admin-wizards-api-test.js @@ -41,7 +41,7 @@ acceptance("Admin | API tab", function (needs) { }, ]); }); - server.get("/admin/customize/user_fields", () => { + server.get("/admin/config/user_fields", () => { return helper.response({ user_fields: [] }); }); server.put("/admin/wizards/api/new_api", () => { diff --git a/test/javascripts/acceptance/admin-wizards-business-subscription-test.js b/test/javascripts/acceptance/admin-wizards-business-subscription-test.js index f9343bad..ee17c1fd 100644 --- a/test/javascripts/acceptance/admin-wizards-business-subscription-test.js +++ b/test/javascripts/acceptance/admin-wizards-business-subscription-test.js @@ -38,7 +38,7 @@ acceptance("Admin | Custom Wizard Business Subscription", function (needs) { server.get("/admin/wizards/api", () => { return helper.response([]); }); - server.get("/admin/customize/user_fields", () => { + server.get("/admin/config/user_fields", () => { return helper.response({ user_fields: [] }); }); server.get("/admin/wizards/wizard/this_is_testing_wizard", () => { diff --git a/test/javascripts/acceptance/admin-wizards-standard-subscription-test.js b/test/javascripts/acceptance/admin-wizards-standard-subscription-test.js index 46b93204..a4bcc851 100644 --- a/test/javascripts/acceptance/admin-wizards-standard-subscription-test.js +++ b/test/javascripts/acceptance/admin-wizards-standard-subscription-test.js @@ -38,7 +38,7 @@ acceptance("Admin | Custom Wizard Standard Subscription", function (needs) { server.get("/admin/wizards/api", () => { return helper.response({ success: "OK" }); }); - server.get("/admin/customize/user_fields", () => { + server.get("/admin/config/user_fields", () => { return helper.response({ user_fields: [] }); }); server.get("/admin/wizards/wizard/this_is_testing_wizard", () => { diff --git a/test/javascripts/acceptance/admin-wizards-unsubscribed-test.js b/test/javascripts/acceptance/admin-wizards-unsubscribed-test.js index 6c72e4f2..0b423717 100644 --- a/test/javascripts/acceptance/admin-wizards-unsubscribed-test.js +++ b/test/javascripts/acceptance/admin-wizards-unsubscribed-test.js @@ -39,7 +39,7 @@ acceptance("Admin | Custom Wizard Unsubscribed", function (needs) { server.get("/admin/wizards/api", () => { return helper.response({ success: "OK" }); }); - server.get("/admin/customize/user_fields", () => { + server.get("/admin/config/user_fields", () => { return helper.response({ user_fields: [] }); }); server.get("/admin/wizards/wizard/this_is_testing_wizard", () => {