Skip to content

Commit 718ce51

Browse files
author
Christoph Henrici
committed
failed frontend tests fixed
1 parent 44a3c0a commit 718ce51

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ This opens to the Frontend port <http://localhost:5173> only and takes it's data
8686
##### 3️⃣ Backend (Spring Boot)
8787

8888
- [ ] Validate payloads
89-
- [ ] Tenant scoping already active via Hibernate filter
89+
- [x] Tenant scoping already active via Hibernate filter
9090
- [ ] Extend `ClientRepository` with `deleteByTenantId()`
9191

9292
##### 4️⃣ Forms & Validation

frontend/.env.development

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
VITE_USE_MOCK=false
1+
VITE_USE_MOCK=true
22
# If you want real backend in dev, flip to false and (optionally) set:
33
VITE_BACKEND_URL=http://localhost:8080

frontend/src/mocks/handlers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const handlers = [
77
await delay('real')
88
return HttpResponse.json(clients)
99
}),
10-
http.get('/api/tenant', async () => {
10+
http.get('/tenantInfo', async () => {
1111
await delay('real')
1212
return HttpResponse.json({
1313
tenantDisplay: getMockTenantDisplay(),

0 commit comments

Comments
 (0)