diff options
author | Devlin Junker <devlin.junker@gmail.com> | 2022-11-22 07:58:28 -1000 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2022-12-01 13:17:21 +0100 |
commit | 208cfa81096ca6993ac34f393c8e7648350f8fad (patch) | |
tree | 33ffc91528a49d5523138c0a4f12ce766f8d4ca5 /src | |
parent | a12e334ce2cf35f2aecc89b157f8d091b65aa1ab (diff) |
add unit tests for admin settings
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/AdminSettings.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/AdminSettings.vue b/src/components/AdminSettings.vue index b2b89d44b..332f920f0 100644 --- a/src/components/AdminSettings.vue +++ b/src/components/AdminSettings.vue @@ -104,7 +104,7 @@ import { loadState } from '@nextcloud/initial-state' import { showError, showSuccess } from '@nextcloud/dialogs' import axios from '@nextcloud/axios' import { generateOcsUrl } from '@nextcloud/router' -import { confirmPassword } from '@nextcloud/password-confirmation' // TODO: throws 'invariant' error with jest? +import { confirmPassword } from '@nextcloud/password-confirmation' /** * @@ -172,7 +172,7 @@ export default { }) } }, - async handleResponse({ status, errorMessage, error }) { + handleResponse({ status, errorMessage, error }) { if (status !== 'ok') { showError(errorMessage) console.error(errorMessage, error) |