mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 18:33:55 +00:00
chore(upload): pr feedback
This commit is contained in:
parent
4f7f672a7a
commit
892f9963e8
@ -1,7 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
const { sample } = require('lodash');
|
||||
|
||||
// Helpers.
|
||||
const { createTestBuilder } = require('../../../../../test/helpers/builder');
|
||||
const { createStrapiInstance } = require('../../../../../test/helpers/strapi');
|
||||
@ -130,7 +128,7 @@ describe('Configure Media Library View', () => {
|
||||
test('Successfully update the ML view configuration', async () => {
|
||||
const config = {
|
||||
pageSize: 100,
|
||||
sort: sample(ALLOWED_SORT_STRINGS),
|
||||
sort: ALLOWED_SORT_STRINGS[1],
|
||||
};
|
||||
const updateRes = await requests.admin({
|
||||
method: 'PUT',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user