Skip to content
Snippets Groups Projects
Commit eca302bc authored by Albert Bruns's avatar Albert Bruns
Browse files

OZG-7974 small fix

parent 3099a4ba
Branches
Tags
1 merge request!116OZG-7974-Validierung-onSubmit
......@@ -151,14 +151,6 @@ describe('UserFormService', () => {
expect(response).toBeObservable(singleCold(loadedUser));
});
it('should update alfa role states after user is loaded', () => {
userService.getUserById.mockReturnValue(of(loadedUser));
service._load(id).subscribe();
expect(service._updateAlfaRoleStates).toHaveBeenCalled();
});
it('should not update alfa role states if user is not loaded', () => {
userService.getUserById.mockReturnValue(of(createEmptyStateResource()));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment