fixed failing tests and added helper for tests with i18n

This commit is contained in:
Sebastian Sdorra
2018-07-24 16:13:48 +02:00
parent fd01cb0573
commit 980bd5b98c
4 changed files with 9 additions and 2 deletions

View File

@@ -154,7 +154,6 @@ export function createUserPending(user: User) {
};
}
export function createUserSuccess() {
return {
type: CREATE_USER_SUCCESS
@@ -181,7 +180,6 @@ export function modifyUser(user: User) {
dispatch(fetchUsers());
})
.catch(err => {
console.log(err);
dispatch(modifyUserFailure(user, err));
});
};