Skip to content

Commit

Permalink
test(BSVHU): fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
silto committed Oct 8, 2024
1 parent bc63fdb commit 502b345
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion e2e/src/data/company.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { prisma } from "@td/prisma";
import { generateUniqueTestSiret, randomNbrChain } from "back";
import { CompanyType, Prisma } from "@prisma/client";
import { CompanyType, Prisma, WasteVehiclesType } from "@prisma/client";

interface VhuAgrement {
agrementNumber: string;
Expand Down Expand Up @@ -162,6 +162,10 @@ export const seedDefaultCompanies = async () => {
{
name: "I - Broyeur / casse automobile",
companyTypes: [CompanyType.WASTE_VEHICLES],
wasteVehiclesTypes: [
WasteVehiclesType.BROYEUR,
WasteVehiclesType.DEMOLISSEUR
],
contact: "Monsieur Démolisseur et Broyeur",
contactPhone: "0458758956",
contactEmail: "[email protected]"
Expand Down Expand Up @@ -202,6 +206,7 @@ export const seedDefaultCompanies = async () => {
{
name: "N - Démolisseur",
companyTypes: [CompanyType.WASTE_VEHICLES],
wasteVehiclesTypes: [WasteVehiclesType.DEMOLISSEUR],
contact: "Monsieur Démolisseur",
contactPhone: "0473625689",
contactEmail: "[email protected]"
Expand All @@ -218,6 +223,7 @@ export const seedDefaultCompanies = async () => {
{
name: "O - Broyeur",
companyTypes: [CompanyType.WASTE_VEHICLES],
wasteVehiclesTypes: [WasteVehiclesType.BROYEUR],
contact: "Monsieur Broyeur",
contactPhone: "0475875695",
contactEmail: "[email protected]"
Expand Down

0 comments on commit 502b345

Please sign in to comment.