Skip to content

Commit

Permalink
[Maps] Fix EMS test (#81856) (#81868)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasneirynck authored Oct 28, 2020
1 parent 1b162b2 commit 0c5c8c4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions x-pack/test/api_integration/apis/maps/proxy_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ import expect from '@kbn/expect';
export default function ({ getService }) {
const supertest = getService('supertest');

// Failing: See https://github.com/elastic/kibana/issues/81844
describe.skip('EMS proxy', () => {
describe('EMS proxy', () => {
it('should correctly rewrite url and format', async () => {
const resp = await supertest
.get(`/api/maps/ems/files/v7.10/manifest`)
Expand All @@ -22,7 +21,7 @@ export default function ({ getService }) {
//Check world-layer
const worldLayer = resp.body.layers.find((layer) => layer.layer_id === 'world_countries');
expect(worldLayer.formats.length).to.be.greaterThan(0);
expect(worldLayer.formats[0].type).to.be('geojson');
expect(worldLayer.formats[0].type).to.be('topojson');
expect(worldLayer.formats[0].url).to.be('file?id=world_countries');
});
});
Expand Down

0 comments on commit 0c5c8c4

Please sign in to comment.