mirror of
https://github.com/logto-io/logto.git
synced 2025-02-24 22:05:56 -05:00
fix(core): test cases
This commit is contained in:
parent
ada4da2fbf
commit
06ff890358
2 changed files with 2 additions and 4 deletions
|
@ -27,9 +27,7 @@ describe('settings routes', () => {
|
||||||
|
|
||||||
it('PATCH /settings', async () => {
|
it('PATCH /settings', async () => {
|
||||||
const customDomain = 'silverhand-logto.io';
|
const customDomain = 'silverhand-logto.io';
|
||||||
const adminConsole = {
|
const adminConsole = {};
|
||||||
applicationSkipGetStarted: true,
|
|
||||||
};
|
|
||||||
|
|
||||||
const response = await roleRequester.patch('/settings').send({
|
const response = await roleRequester.patch('/settings').send({
|
||||||
customDomain,
|
customDomain,
|
||||||
|
|
|
@ -22,7 +22,7 @@ const expectPatchResponseStatus = async (signInExperience: any, status: number)
|
||||||
};
|
};
|
||||||
|
|
||||||
describe('branding', () => {
|
describe('branding', () => {
|
||||||
const colorKeys = ['primaryColor', 'backgroundColor', 'darkPrimaryColor', 'darkBackgroundColor'];
|
const colorKeys = ['primaryColor', 'darkPrimaryColor'];
|
||||||
|
|
||||||
const invalidColors = [
|
const invalidColors = [
|
||||||
undefined,
|
undefined,
|
||||||
|
|
Loading…
Add table
Reference in a new issue