mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-17 02:31:14 +01:00
use index resources for groups
This commit is contained in:
@@ -125,7 +125,7 @@ describe("config fetch()", () => {
|
||||
}
|
||||
});
|
||||
|
||||
return store.dispatch(fetchConfig()).then(() => {
|
||||
return store.dispatch(fetchConfig(CONFIG_URL)).then(() => {
|
||||
expect(store.getActions()).toEqual(expectedActions);
|
||||
});
|
||||
});
|
||||
@@ -144,7 +144,7 @@ describe("config fetch()", () => {
|
||||
}
|
||||
}
|
||||
});
|
||||
return store.dispatch(fetchConfig()).then(() => {
|
||||
return store.dispatch(fetchConfig(CONFIG_URL)).then(() => {
|
||||
const actions = store.getActions();
|
||||
expect(actions[0].type).toEqual(FETCH_CONFIG_PENDING);
|
||||
expect(actions[1].type).toEqual(FETCH_CONFIG_FAILURE);
|
||||
|
||||
Reference in New Issue
Block a user