0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-09-19 15:21:11 +02:00

add FE get suppliers stub

Dieser Commit ist enthalten in:
merefield 2023-09-24 18:22:39 +01:00
Ursprung 43ad5785e1
Commit 45db2270ec
2 geänderte Dateien mit 13 neuen und 0 gelöschten Zeilen

Datei anzeigen

@ -34,6 +34,9 @@ acceptance("Admin | Submissions", function (needs) {
server.get("/admin/wizards/wizard", () => {
return helper.response(getWizard);
});
server.get("/admin/plugins/subscription-client/suppliers", () => {
return helper.response(getSuppliers);
});
});
test("View submissions fields tab and content", async (assert) => {
await visit("/admin/wizards/submissions");

Datei anzeigen

@ -914,6 +914,15 @@ const putNewApi = {
log: [],
},
};
const getSuppliers = {
"suppliers": [
{ "id": 1,
"name": "Pavilion",
"authorized": false,
"authorized_at": null,
"user": null }
]
};
export {
getWizard,
getUnsubscribedAdminWizards,
@ -928,4 +937,5 @@ export {
putNewApi,
getAnotherWizardSubmission,
getUniqueWizard,
getSuppliers,
};