Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 01:10:28 +01:00
add FE get suppliers stub
Dieser Commit ist enthalten in:
Ursprung
43ad5785e1
Commit
45db2270ec
2 geänderte Dateien mit 13 neuen und 0 gelöschten Zeilen
|
@ -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");
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
Laden …
In neuem Issue referenzieren