GroupsService: Remove test obsoleted by strict mode

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2021-04-29 21:53:05 +02:00
parent 0c89d8715e
commit 30712abe31
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -69,13 +69,5 @@ describe('GroupsService', () => {
expect(groupDto.name).toEqual(group.name);
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();
});
});
});