tests fixes

This commit is contained in:
Gabriel Rosa
2022-07-19 16:22:24 -03:00
parent 9cdb0a5d38
commit 5ce8099c25
8 changed files with 81 additions and 9 deletions
@@ -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,