mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-05 17:53:12 +02:00
fix: remove display name
This commit is contained in:
parent
240786ea37
commit
5847298d38
@ -163,14 +163,12 @@ test('Sorts environments by sort order', async () => {
|
|||||||
const defaultEnvName = 'default';
|
const defaultEnvName = 'default';
|
||||||
await db.stores.environmentStore.create({
|
await db.stores.environmentStore.create({
|
||||||
name: envOne,
|
name: envOne,
|
||||||
displayName: 'Enable feature for environment',
|
|
||||||
type: 'production',
|
type: 'production',
|
||||||
sortOrder: 0,
|
sortOrder: 0,
|
||||||
});
|
});
|
||||||
|
|
||||||
await db.stores.environmentStore.create({
|
await db.stores.environmentStore.create({
|
||||||
name: envTwo,
|
name: envTwo,
|
||||||
displayName: 'Enable feature for environment',
|
|
||||||
type: 'production',
|
type: 'production',
|
||||||
sortOrder: 500,
|
sortOrder: 500,
|
||||||
});
|
});
|
||||||
@ -209,14 +207,12 @@ test('Sorts environments correctly if sort order is equal', async () => {
|
|||||||
|
|
||||||
await db.stores.environmentStore.create({
|
await db.stores.environmentStore.create({
|
||||||
name: envOne,
|
name: envOne,
|
||||||
displayName: 'Enable feature for environment',
|
|
||||||
type: 'production',
|
type: 'production',
|
||||||
sortOrder: -5,
|
sortOrder: -5,
|
||||||
});
|
});
|
||||||
|
|
||||||
await db.stores.environmentStore.create({
|
await db.stores.environmentStore.create({
|
||||||
name: envTwo,
|
name: envTwo,
|
||||||
displayName: 'Enable feature for environment',
|
|
||||||
type: 'production',
|
type: 'production',
|
||||||
sortOrder: -5,
|
sortOrder: -5,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user