mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-23 11:37:02 -04:00
GroupsService: Remove test obsoleted by strict mode
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
8388edcd53
commit
d4495a0a62
1 changed files with 0 additions and 8 deletions
|
@ -69,13 +69,5 @@ describe('GroupsService', () => {
|
||||||
expect(groupDto.name).toEqual(group.name);
|
expect(groupDto.name).toEqual(group.name);
|
||||||
expect(groupDto.special).toBeFalsy();
|
expect(groupDto.special).toBeFalsy();
|
||||||
});
|
});
|
||||||
it('fails with null parameter', () => {
|
|
||||||
const groupDto = service.toGroupDto(null);
|
|
||||||
expect(groupDto).toBeNull();
|
|
||||||
});
|
|
||||||
it('fails with undefined parameter', () => {
|
|
||||||
const groupDto = service.toGroupDto(undefined);
|
|
||||||
expect(groupDto).toBeNull();
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue