diff --git a/express-api/tests/unit/services/buildings/buildingService.test.ts b/express-api/tests/unit/services/buildings/buildingService.test.ts index 18d660a7b..455d70318 100644 --- a/express-api/tests/unit/services/buildings/buildingService.test.ts +++ b/express-api/tests/unit/services/buildings/buildingService.test.ts @@ -147,7 +147,7 @@ describe('updateBuildingById', () => { RoleId: Roles.GENERAL_USER, hasOneOfRoles: () => false, }); - const updateBuilding = produceBuilding(); + const updateBuilding = produceBuilding({ AgencyId: 1 }); expect( async () => await buildingService.updateBuildingById(updateBuilding, generalUser), ).rejects.toThrow();