mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 22:45:45 +01:00
use list/byNames in user state, merged heads
This commit is contained in:
@@ -153,8 +153,6 @@ describe("auth actions", () => {
|
||||
status: 400
|
||||
});
|
||||
|
||||
const expectedActions = [{ type: LOGIN_REQUEST }, { type: LOGIN_FAILURE }];
|
||||
|
||||
const store = mockStore({});
|
||||
return store.dispatch(login("tricia", "secret123")).then(() => {
|
||||
const actions = store.getActions();
|
||||
@@ -244,11 +242,6 @@ describe("auth actions", () => {
|
||||
status: 500
|
||||
});
|
||||
|
||||
const expectedActions = [
|
||||
{ type: LOGOUT_REQUEST },
|
||||
{ type: LOGOUT_FAILURE }
|
||||
];
|
||||
|
||||
const store = mockStore({});
|
||||
return store.dispatch(logout()).then(() => {
|
||||
const actions = store.getActions();
|
||||
|
||||
Reference in New Issue
Block a user