From 733b883ac0f540614a2d76f262b597577363744b Mon Sep 17 00:00:00 2001 From: mike-000 <49240900+mike-000@users.noreply.github.com> Date: Sun, 29 Sep 2019 12:19:42 +0100 Subject: [PATCH] Correct expected result to reflect #10054 Correct world extent constrained resolution test to expect integer zoom level --- test/spec/ol/view.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/spec/ol/view.test.js b/test/spec/ol/view.test.js index 8f18c70030..94957a7cef 100644 --- a/test/spec/ol/view.test.js +++ b/test/spec/ol/view.test.js @@ -454,7 +454,7 @@ describe('ol.View', function() { maxResolution: maxResolution, constrainResolution: true }); - expect(fn(defaultMaxRes, 0, size)).to.be(defaultMaxRes / 2); + expect(fn(defaultMaxRes, 0, size)).to.be(maxResolution / 4); }); it('enabled, with constrainResolution', function() {