Skip to content

Commit

Permalink
Merge pull request #7460 from AnalyticalGraphicsInc/fix-tests
Browse files Browse the repository at this point in the history
Fix test failures from ion-sdk
  • Loading branch information
Hannah authored Jan 4, 2019
2 parents 2241ff0 + ab28175 commit 762c4dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Specs/Scene/Geometry3DTileContentSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ defineSuite([
verifyPick(scene);
globePrimitive.show = true;
tilesetPrimitive.show = false;
expect(scene).toRender(depthColor);
expectRender(scene, depthColor);
globePrimitive.show = true;
tilesetPrimitive.show = true;
});
Expand All @@ -298,7 +298,7 @@ defineSuite([
return loadTileset(tileset).then(function(tileset) {
globePrimitive.show = false;
tilesetPrimitive.show = true;
expect(scene).toRender(depthColor);
expectRender(scene, depthColor);
globePrimitive.show = true;
tilesetPrimitive.show = false;
verifyRender(tileset, scene);
Expand Down
4 changes: 2 additions & 2 deletions Specs/Scene/Vector3DTileContentSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ defineSuite([
verifyPick(scene);
globePrimitive.show = true;
tilesetPrimitive.show = false;
expect(scene).toRender(depthColor);
expectRender(scene, depthColor);
globePrimitive.show = true;
tilesetPrimitive.show = true;
});
Expand All @@ -665,7 +665,7 @@ defineSuite([
return loadTileset(tileset).then(function(tileset) {
globePrimitive.show = false;
tilesetPrimitive.show = true;
expect(scene).toRender(depthColor);
expectRender(scene, depthColor);
globePrimitive.show = true;
tilesetPrimitive.show = false;
verifyRender(tileset, scene);
Expand Down

0 comments on commit 762c4dd

Please sign in to comment.