浏览代码

removed incorrect assertions

Raanan Weber 7 年之前
父节点
当前提交
9aa4988074
共有 1 个文件被更改,包括 7 次插入4 次删除
  1. 7 4
      Viewer/tests/unit/src/configuration/updateConfiguration.ts

+ 7 - 4
Viewer/tests/unit/src/configuration/updateConfiguration.ts

@@ -161,6 +161,13 @@ describe(name + " scene", () => {
                         g: 0.5,
                         b: 0.5
                     }
+                },
+                lab: {
+                    environmentMap: {
+                        tintLevel: 1,
+                        texture: "",
+                        rotationY: 0
+                    }
                 }
             });
 
@@ -168,10 +175,6 @@ describe(name + " scene", () => {
             assert.equal(viewer.sceneManager.mainColor.g, 0.5);
             assert.equal(viewer.sceneManager.mainColor.b, 0.5);
 
-            assert.equal(viewer.sceneManager.reflectionColor.r, 0.5);
-            assert.equal(viewer.sceneManager.reflectionColor.g, 0.5);
-            assert.equal(viewer.sceneManager.reflectionColor.b, 0.5);
-
             // to black
             viewer.updateConfiguration({
                 scene: {