refactor(database): 🚚 Rename Application to Client everywhere

This commit is contained in:
Jesse Wierzbinski 2025-08-21 01:21:32 +02:00
parent 6f97903f3b
commit 1a0a27bee1
No known key found for this signature in database
25 changed files with 2549 additions and 90 deletions

View file

@ -13,10 +13,10 @@ afterAll(async () => {
});
describe("Login flow", () => {
test("should create an application", async () => {
test("should create a client", async () => {
const client = await generateClient(users[0]);
const { ok, data } = await client.createApp("Test Application", {
const { ok, data } = await client.createApp("Test Client", {
redirect_uris: "https://example.com",
website: "https://example.com",
scopes: ["read", "write"],
@ -24,7 +24,7 @@ describe("Login flow", () => {
expect(ok).toBe(true);
expect(data).toEqual({
name: "Test Application",
name: "Test Client",
website: "https://example.com",
client_id: expect.any(String),
client_secret: expect.any(String),