Skip to content

Commit

Permalink
A couple more test updates to account for data update
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Caldwell committed Jun 24, 2021
1 parent bc6cc4d commit 201078b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion x-pack/test/functional/apps/maps/joins.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const EXPECTED_JOIN_VALUES = {
bravo: 3,
charlie: 12,
tango: undefined,
zulu: undefined,
};

const VECTOR_SOURCE_ID = 'n1t6f';
Expand Down Expand Up @@ -79,7 +80,7 @@ export default function ({ getPageObjects, getService }) {
expect(mapboxStyle.sources[VECTOR_SOURCE_ID].data.features.length).to.equal(10);

mapboxStyle.sources.n1t6f.data.features.forEach(({ properties }) => {
if (properties.name === 'tango') {
if (properties.name === 'tango' || properties.name === 'zulu') {
//left join, which means we won't rescale joins that do not match
expect(properties.hasOwnProperty(JOIN_PROPERTY_NAME)).to.be(false);
} else {
Expand Down
2 changes: 1 addition & 1 deletion x-pack/test/functional/es_archives/maps/data/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
],
"type": "polygon"
},
"name": "feature-to-delete",
"name": "zulu",
"prop1": 9
}
}
Expand Down

0 comments on commit 201078b

Please sign in to comment.