From e4b6413f469b8c771848d0db0c1374e29942e178 Mon Sep 17 00:00:00 2001 From: John Coffey Date: Thu, 27 Aug 2026 14:09:12 -0700 Subject: [PATCH] Use an example address in the participants fixture One test built its organizer from a real, routable address and a real name. Every other fixture in the codebase uses example.org or example.com, and this repository is public, so the odd one out was a personal address sitting in public source for no reason -- the test asserts roles and participation status and never looks at either value. Now john@example.org, matching what the rest of the tests already use. Found while checking, at the maintainer's prompting, whether the repo leaked anything about the host it runs on. It does not: the nginx and deploy files here are the generic examples they claim to be, and the real ones live in a private repository. This was the only thing the search turned up that was worth changing. --- web/src/store/__tests__/participants.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/store/__tests__/participants.test.ts b/web/src/store/__tests__/participants.test.ts index 9796ed9..a04b4c0 100644 --- a/web/src/store/__tests__/participants.test.ts +++ b/web/src/store/__tests__/participants.test.ts @@ -41,7 +41,7 @@ describe("makeParticipant", () => { expect(guest.expectReply).toBe(true); }); it("marks the organizer as owner and keeps a status already given", () => { - const me = makeParticipant("john@linuxexperts.net", "John Coffey", "owner"); + const me = makeParticipant("john@example.org", "John Doe", "owner"); expect(me.roles).toEqual({ owner: true, attendee: true }); expect(me.participationStatus).toBe("accepted"); expect(me.expectReply).toBe(false);