Cypress tests ok ,terms and conditions after hard work ready to merge

This commit is contained in:
ogerly 2019-08-30 09:51:00 +02:00
parent f28ff69f3a
commit 27e7bf6279
2 changed files with 4 additions and 1 deletions

View File

@ -384,6 +384,9 @@ Given("there is an annoying user called {string}", name => {
id: "annoying-user", id: "annoying-user",
name, name,
...termsAndConditionsAgreedVersion ...termsAndConditionsAgreedVersion
}); });
}); });

View File

@ -69,7 +69,7 @@ export const actions = {
.then(res => { .then(res => {
commit('SET_QUICK_RESULTS', res.data.findPosts || []) commit('SET_QUICK_RESULTS', res.data.findPosts || [])
}) })
.catch(() => { .catch(_err => {
commit('SET_QUICK_RESULTS', []) commit('SET_QUICK_RESULTS', [])
}) })
.finally(() => { .finally(() => {