From 4fde16d55b8c4b5acda9d594b24ccb8849606ae1 Mon Sep 17 00:00:00 2001 From: Pedro Silva Date: Wed, 9 Nov 2022 17:05:05 +0000 Subject: [PATCH] Fix duplicated name failure --- qa-core/src/config/internal-api/fixtures/applications.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qa-core/src/config/internal-api/fixtures/applications.ts b/qa-core/src/config/internal-api/fixtures/applications.ts index 9076a05e1b..abdd674577 100644 --- a/qa-core/src/config/internal-api/fixtures/applications.ts +++ b/qa-core/src/config/internal-api/fixtures/applications.ts @@ -1,11 +1,12 @@ import generator from "../../generator" import { Application } from "@budibase/server/api/controllers/public/mapping/types" + const generate = ( overrides: Partial = {} ): Partial => ({ - name: generator.word(), - url: `/${generator.word()}`, + name: generator.word() + generator.hash(), + url: `/${generator.word() + generator.hash()}`, ...overrides, })