History

Feed the cloud membership mirror from login and member writes

Rhys Sullivan committed 2 months ago

Commit 73a4cef1 parent fd59c1833 files · +5374 −606Browse files

Showing the changes to apps/cloud/src/api/protected-api-key-auth.node.test.ts (1 of 33 files). Show all

Unified · Split

apps/cloud/src/api/protected-api-key-auth.node.test.ts+9−0
@@ -68,18 +68,27 @@ const stubUsers = Layer.succeed(UserStoreService)({ · 67 unmodified lines
6868 upsertOrganization: async (org: { id: string; name: string }) => ({
6969 ...org,
7070 slug: `org-slug-${org.id}`,
71+ backfilledAt: null,
72+ deletedAt: null,
73+ workosUpdatedAt: null,
7174 createdAt,
7275 }),
7376 getOrganization: async (id: string) => ({
7477 id,
7578 name: `Org ${id}`,
7679 slug: `org-slug-${id}`,
80+ backfilledAt: null,
81+ deletedAt: null,
82+ workosUpdatedAt: null,
7783 createdAt,
7884 }),
7985 getOrganizationBySlug: async (slug: string) => ({
8086 id: "org_by_slug",
8187 name: `Org ${slug}`,
8288 slug,
89+ backfilledAt: null,
90+ deletedAt: null,
91+ workosUpdatedAt: null,
8392 createdAt,
8493 }),
8594 deleteOrganizationCascade: async () => {},