0
Fork 0
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:
Gao Sun 2022-04-09 22:06:41 +08:00
parent ada4da2fbf
commit 06ff890358
No known key found for this signature in database
GPG key ID: 13EBE123E4773688
2 changed files with 2 additions and 4 deletions

View file

@ -27,9 +27,7 @@ describe('settings routes', () => {
it('PATCH /settings', async () => {
const customDomain = 'silverhand-logto.io';
const adminConsole = {
applicationSkipGetStarted: true,
};
const adminConsole = {};
const response = await roleRequester.patch('/settings').send({
customDomain,

View file

@ -22,7 +22,7 @@ const expectPatchResponseStatus = async (signInExperience: any, status: number)
};
describe('branding', () => {
const colorKeys = ['primaryColor', 'backgroundColor', 'darkPrimaryColor', 'darkBackgroundColor'];
const colorKeys = ['primaryColor', 'darkPrimaryColor'];
const invalidColors = [
undefined,