diff --git a/test/rendering/cases/immediate-pixel-ratio/main.js b/test/rendering/cases/immediate-pixel-ratio/main.js
index <HASH>..<HASH> 100644
--- a/test/rendering/cases/immediate-pixel-ratio/main.js
+++ b/test/rendering/cases/immediate-pixel-ratio/main.js
@@ -69,8 +69,8 @@ new Map({
   view: new View({
     center: [256 / 2, -256 / 2],
     resolution: 1,
-    devicePixelRatio: 2,
   }),
+  pixelRatio: 2,
 });
 
 render();
correct setting of pixelRatio