forked from Shared/esg
database migrated to POSTGRESQL
This commit is contained in:
@@ -81,7 +81,7 @@ describe('unit helpers and mappers', () => {
|
||||
|
||||
it('maps user documents without leaking secrets', () => {
|
||||
const dto = UserMapper.toResponseDto({
|
||||
_id: { toString: () => 'user-1' },
|
||||
id: 'user-1',
|
||||
fullName: 'Admin User',
|
||||
username: 'admin',
|
||||
email: 'admin@example.com',
|
||||
|
||||
Reference in New Issue
Block a user