Skip to content
Snippets Groups Projects
Commit c15265eb authored by Angelina Filippova's avatar Angelina Filippova
Browse files

Mock fetching instance document in tests

parent e7f928a0
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,10 @@ export async function fetchSettings(authHost, token) {
return Promise.resolve({ data: configsWithTagPolicy })
}
export async function getInstanceDocument(name, authHost, token) {
return Promise.resolve({ data: '<h1>Instance panel</h1>' })
}
export async function updateSettings(configs, authHost, token) {
return Promise.resolve({ data: configAfterUpdate })
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment