chore(upload): pr feedback

This commit is contained in:
Jamie Howard 2022-12-13 14:33:05 +00:00
parent 4f7f672a7a
commit 892f9963e8

View File

@ -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',