mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-14 05:19:08 +00:00
tests fixes
This commit is contained in:
@@ -18,6 +18,10 @@ import { AuthClientService } from '../modules/auth/auth.service';
|
||||
|
||||
import ErrorCodes from '../utils/errorCodes';
|
||||
|
||||
const logger = {
|
||||
info: (...args) => args,
|
||||
error: (...args) => args,
|
||||
};
|
||||
@Controller('no-class-auth')
|
||||
class NoClassAuthController {
|
||||
@Get('body')
|
||||
@@ -110,7 +114,7 @@ describe('authentication.guard', () => {
|
||||
},
|
||||
{
|
||||
provide: DadosferaLogger,
|
||||
useValue: { logger: console },
|
||||
useValue: { logger },
|
||||
},
|
||||
{
|
||||
provide: APP_GUARD,
|
||||
|
||||
Reference in New Issue
Block a user