Skip to content

Commit

Permalink
Fix type, reenabled skipped test
Browse files Browse the repository at this point in the history
  • Loading branch information
jen-huang committed Jul 6, 2020
1 parent cdef2b6 commit c18ec76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import { HttpFetchQuery } from 'src/core/public';

export interface ListWithKuery {
export interface ListWithKuery extends HttpFetchQuery {
page?: number;
perPage?: number;
sortField?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,7 @@ export default function ({ getService }: FtrProviderContext) {
}
});

// This test is disabled as the docker image used does not contain necessary package registry changes
// to support this functionality
it.skip('should not allow multiple limited packages on the same agent config', async function () {
it('should not allow multiple limited packages on the same agent config', async function () {
if (server.enabled) {
await supertest
.post(`/api/ingest_manager/package_configs`)
Expand All @@ -102,7 +100,7 @@ export default function ({ getService }: FtrProviderContext) {
package: {
name: 'endpoint',
title: 'Endpoint',
version: '0.5.0',
version: '0.8.0',
},
})
.expect(200);
Expand All @@ -120,7 +118,7 @@ export default function ({ getService }: FtrProviderContext) {
package: {
name: 'endpoint',
title: 'Endpoint',
version: '0.5.0',
version: '0.8.0',
},
})
.expect(500);
Expand Down

0 comments on commit c18ec76

Please sign in to comment.