diff --git a/src/api/__mocks__/settings.js b/src/api/__mocks__/settings.js index c2243b9a..628a5e1f 100644 --- a/src/api/__mocks__/settings.js +++ b/src/api/__mocks__/settings.js @@ -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: '

Instance panel

' }) +} + export async function updateSettings(configs, authHost, token) { return Promise.resolve({ data: configAfterUpdate }) }