UsersService: 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:52:20 +02:00
parent 0944f07834
commit 8388edcd53
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -149,9 +149,5 @@ describe('UsersService', () => {
expect(userDto.photo).toEqual('');
expect(userDto.email).toEqual('');
});
it('fails if no user is provided', () => {
expect(service.toUserDto(null)).toBeNull();
expect(service.toUserDto(undefined)).toBeNull();
});
});
});