mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 15:35:49 +01:00
fixed failing tests and added helper for tests with i18n
This commit is contained in:
@@ -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));
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user