1
0
Fork 0

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", () => { server.get("/admin/wizards/wizard", () => {
return helper.response(getWizard); return helper.response(getWizard);
}); });
server.get("/admin/plugins/subscription-client/suppliers", () => {
return helper.response(getSuppliers);
});
}); });
test("View submissions fields tab and content", async (assert) => { test("View submissions fields tab and content", async (assert) => {
await visit("/admin/wizards/submissions"); await visit("/admin/wizards/submissions");

Datei anzeigen

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