0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 01:10:28 +01: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 {
getCustomFields,
getSuppliers,
getUnsubscribedAdminWizards,
getWizard,
getSuppliers,
} from "../helpers/admin-wizard";
import { Promise } from "rsvp";
@ -20,6 +20,7 @@ acceptance("Admin | Custom Fields Unsubscribed", function (needs) {
custom_wizard_enabled: true,
available_locales: JSON.stringify([{ name: "English", value: "en" }]),
});
needs.pretender((server, helper) => {
server.get("/admin/wizards/wizard", () => {
return helper.response(getWizard);

Datei anzeigen

@ -3,10 +3,10 @@ import { test } from "qunit";
import { click, findAll, visit } from "@ember/test-helpers";
import selectKit from "discourse/tests/helpers/select-kit-helper";
import {
getSuppliers,
getUnsubscribedAdminWizards,
getWizard,
getWizardTestingLog,
getSuppliers,
} from "../helpers/admin-wizard";
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 { click, find, findAll, visit, waitUntil } from "@ember/test-helpers";
import {
getSuppliers,
getUnsubscribedAdminWizards,
getWizard,
getWizardTestingLog,
getSuppliers,
} from "../helpers/admin-wizard";
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 {
getAnotherWizardSubmission,
getSuppliers,
getUnsubscribedAdminWizards,
getWizard,
getWizardSubmissions,
getSuppliers,
} from "../helpers/admin-wizard";
acceptance("Admin | Submissions", function (needs) {

Datei anzeigen

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

Datei anzeigen

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

Datei anzeigen

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

Datei anzeigen

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