use basic cache

This commit is contained in:
sbriat
2023-09-29 10:45:23 +02:00
parent fb34757463
commit bd18e4543b
6 changed files with 46 additions and 6 deletions

View File

@@ -13,6 +13,7 @@ import { MatchRequestDto } from '@modules/ad/interface/grpc-controllers/dtos/mat
import { WaypointDto } from '@modules/ad/interface/grpc-controllers/dtos/waypoint.dto';
import { MatchGrpcController } from '@modules/ad/interface/grpc-controllers/match.grpc-controller';
import { MatchMapper } from '@modules/ad/match.mapper';
import { CACHE_MANAGER } from '@nestjs/cache-manager';
import { QueryBus } from '@nestjs/cqrs';
import { RpcException } from '@nestjs/microservices';
import { Test, TestingModule } from '@nestjs/testing';
@@ -316,6 +317,10 @@ describe('Match Grpc Controller', () => {
provide: MatchMapper,
useValue: mockMatchMapper,
},
{
provide: CACHE_MANAGER,
useValue: {},
},
],
}).compile();