mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-13 18:52:14 +01:00
Add Field component system and migrate UI
This commit is contained in:
@@ -417,10 +417,9 @@ export async function updateOrganizationCurrencyViaWeb(
|
||||
currency: string,
|
||||
name: string = 'Test Organization'
|
||||
) {
|
||||
const response = await ctx.request.put(
|
||||
`${PLAYWRIGHT_BASE_URL}/teams/${ctx.orgId}`,
|
||||
{ data: { name, currency } }
|
||||
);
|
||||
const response = await ctx.request.put(`${PLAYWRIGHT_BASE_URL}/teams/${ctx.orgId}`, {
|
||||
data: { name, currency },
|
||||
});
|
||||
expect(response.status()).toBe(200);
|
||||
}
|
||||
|
||||
|
||||
@@ -78,4 +78,4 @@ export async function getPasswordResetUrl(
|
||||
expect(resetUrlMatch).toBeTruthy();
|
||||
|
||||
return resetUrlMatch![1].replace(/&/g, '&');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user