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 ea11fbff12
commit 0c89d8715e
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.photo).toEqual('');
expect(userDto.email).toEqual(''); expect(userDto.email).toEqual('');
}); });
it('fails if no user is provided', () => {
expect(service.toUserDto(null)).toBeNull();
expect(service.toUserDto(undefined)).toBeNull();
});
}); });
}); });