Update API routes to target the default tenant #126

Merged
bustikiller merged 2 commits from default-tenant into main 2024-11-30 20:01:23 +00:00
Showing only changes of commit 3385230353 - Show all commits

View File

@ -1,7 +1,7 @@
import { test, expect, Page } from '@playwright/test' import { test, expect, Page } from '@playwright/test'
const mockGuestsAPI = ({ page }: { page: Page }) => { const mockGuestsAPI = ({ page }: { page: Page }) => {
page.route('*/**/api/guests', async route => { page.route('*/**/api/default/guests', async route => {
const json = [ const json = [
{ {
"id": "f4a09c28-40ea-4553-90a5-96935a59cac6", "id": "f4a09c28-40ea-4553-90a5-96935a59cac6",
@ -28,7 +28,7 @@ const mockGuestsAPI = ({ page }: { page: Page }) => {
} }
const mockGroupsAPI = ({ page }: { page: Page }) => { const mockGroupsAPI = ({ page }: { page: Page }) => {
page.route('*/**/api/groups', async route => { page.route('*/**/api/default/groups', async route => {
const json = [ const json = [
{ {
"id": "ee44ffb9-1147-4842-a378-9eaeb0f0871a", "id": "ee44ffb9-1147-4842-a378-9eaeb0f0871a",