0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-09-19 23:31:11 +02:00
Dieser Commit ist enthalten in:
merefield 2023-09-25 16:07:41 +01:00
Ursprung 80fcddc45f
Commit ea02e53882
8 geänderte Dateien mit 9 neuen und 8 gelöschten Zeilen

Datei anzeigen

@ -8,9 +8,9 @@ import { click, fillIn, findAll, visit, waitUntil } from "@ember/test-helpers";
import selectKit from "discourse/tests/helpers/select-kit-helper"; import selectKit from "discourse/tests/helpers/select-kit-helper";
import { import {
getCustomFields, getCustomFields,
getSuppliers,
getUnsubscribedAdminWizards, getUnsubscribedAdminWizards,
getWizard, getWizard,
getSuppliers,
} from "../helpers/admin-wizard"; } from "../helpers/admin-wizard";
import { Promise } from "rsvp"; import { Promise } from "rsvp";
@ -20,6 +20,7 @@ acceptance("Admin | Custom Fields Unsubscribed", function (needs) {
custom_wizard_enabled: true, custom_wizard_enabled: true,
available_locales: JSON.stringify([{ name: "English", value: "en" }]), available_locales: JSON.stringify([{ name: "English", value: "en" }]),
}); });
needs.pretender((server, helper) => { needs.pretender((server, helper) => {
server.get("/admin/wizards/wizard", () => { server.get("/admin/wizards/wizard", () => {
return helper.response(getWizard); return helper.response(getWizard);

Datei anzeigen

@ -3,10 +3,10 @@ import { test } from "qunit";
import { click, findAll, visit } from "@ember/test-helpers"; import { click, findAll, visit } from "@ember/test-helpers";
import selectKit from "discourse/tests/helpers/select-kit-helper"; import selectKit from "discourse/tests/helpers/select-kit-helper";
import { import {
getSuppliers,
getUnsubscribedAdminWizards, getUnsubscribedAdminWizards,
getWizard, getWizard,
getWizardTestingLog, getWizardTestingLog,
getSuppliers,
} from "../helpers/admin-wizard"; } from "../helpers/admin-wizard";
acceptance("Admin | Logs", function (needs) { acceptance("Admin | Logs", function (needs) {

Datei anzeigen

@ -2,10 +2,10 @@ import { acceptance, query } from "discourse/tests/helpers/qunit-helpers";
import { test } from "qunit"; import { test } from "qunit";
import { click, find, findAll, visit, waitUntil } from "@ember/test-helpers"; import { click, find, findAll, visit, waitUntil } from "@ember/test-helpers";
import { import {
getSuppliers,
getUnsubscribedAdminWizards, getUnsubscribedAdminWizards,
getWizard, getWizard,
getWizardTestingLog, getWizardTestingLog,
getSuppliers,
} from "../helpers/admin-wizard"; } from "../helpers/admin-wizard";
import { Promise } from "rsvp"; import { Promise } from "rsvp";

Datei anzeigen

@ -4,10 +4,10 @@ import { click, findAll, visit } from "@ember/test-helpers";
import selectKit from "discourse/tests/helpers/select-kit-helper"; import selectKit from "discourse/tests/helpers/select-kit-helper";
import { import {
getAnotherWizardSubmission, getAnotherWizardSubmission,
getSuppliers,
getUnsubscribedAdminWizards, getUnsubscribedAdminWizards,
getWizard, getWizard,
getWizardSubmissions, getWizardSubmissions,
getSuppliers,
} from "../helpers/admin-wizard"; } from "../helpers/admin-wizard";
acceptance("Admin | Submissions", function (needs) { acceptance("Admin | Submissions", function (needs) {

Datei anzeigen

@ -6,9 +6,9 @@ import {
getBusinessAdminWizard, getBusinessAdminWizard,
getCustomFields, getCustomFields,
getNewApi, getNewApi,
getSuppliers,
getWizard, getWizard,
putNewApi, putNewApi,
getSuppliers,
} from "../helpers/admin-wizard"; } from "../helpers/admin-wizard";
acceptance("Admin | API tab", function (needs) { acceptance("Admin | API tab", function (needs) {

Datei anzeigen

@ -11,8 +11,8 @@ import {
getBusinessAdminWizard, getBusinessAdminWizard,
getCreatedWizard, getCreatedWizard,
getCustomFields, getCustomFields,
getWizard,
getSuppliers, getSuppliers,
getWizard,
} from "../helpers/admin-wizard"; } from "../helpers/admin-wizard";
acceptance("Admin | Custom Wizard Business Subscription", function (needs) { acceptance("Admin | Custom Wizard Business Subscription", function (needs) {

Datei anzeigen

@ -11,8 +11,8 @@ import {
getCreatedWizard, getCreatedWizard,
getCustomFields, getCustomFields,
getStandardAdminWizard, getStandardAdminWizard,
getWizard,
getSuppliers, getSuppliers,
getWizard,
} from "../helpers/admin-wizard"; } from "../helpers/admin-wizard";
acceptance("Admin | Custom Wizard Standard Subscription", function (needs) { acceptance("Admin | Custom Wizard Standard Subscription", function (needs) {

Datei anzeigen

@ -11,10 +11,10 @@ import {
getAdminTestingWizard, getAdminTestingWizard,
getCreatedWizard, getCreatedWizard,
getCustomFields, getCustomFields,
getSuppliers,
getUniqueWizard, getUniqueWizard,
getUnsubscribedAdminWizards, getUnsubscribedAdminWizards,
getWizard, getWizard,
getSuppliers,
} from "../helpers/admin-wizard"; } from "../helpers/admin-wizard";
acceptance("Admin | Custom Wizard Unsubscribed", function (needs) { acceptance("Admin | Custom Wizard Unsubscribed", function (needs) {