From ab28175d14b7f9b9f032a2b33fe160f2f959f6d5 Mon Sep 17 00:00:00 2001 From: Sean Lilley Date: Thu, 3 Jan 2019 21:05:13 -0500 Subject: [PATCH] Fix tests --- Specs/Scene/Geometry3DTileContentSpec.js | 4 ++-- Specs/Scene/Vector3DTileContentSpec.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Specs/Scene/Geometry3DTileContentSpec.js b/Specs/Scene/Geometry3DTileContentSpec.js index d0467d993867..3b71f98f3694 100644 --- a/Specs/Scene/Geometry3DTileContentSpec.js +++ b/Specs/Scene/Geometry3DTileContentSpec.js @@ -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; }); @@ -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); diff --git a/Specs/Scene/Vector3DTileContentSpec.js b/Specs/Scene/Vector3DTileContentSpec.js index 079c543159c5..f966b33393d7 100644 --- a/Specs/Scene/Vector3DTileContentSpec.js +++ b/Specs/Scene/Vector3DTileContentSpec.js @@ -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; }); @@ -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);