From 251570b638859e6bd9247a7cfc8d4dd578d99596 Mon Sep 17 00:00:00 2001 From: Javier Goizueta Date: Tue, 12 Jun 2018 12:04:13 +0200 Subject: [PATCH] Fix tests --- test/acceptance/date-wrapping.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/acceptance/date-wrapping.spec.js b/test/acceptance/date-wrapping.spec.js index a96a9e39..9bb8098f 100644 --- a/test/acceptance/date-wrapping.spec.js +++ b/test/acceptance/date-wrapping.spec.js @@ -9,7 +9,7 @@ describe('date-wrapping', () => { describe('when a map instantiation has one single layer', () => { describe('and the layer has the "dates_as_numbers" option enabled', () => { beforeEach(() => { - const mapConfig = mapConfigFactory.getVectorMapConfig({ dates_as_numbers: true }); + const mapConfig = mapConfigFactory.getVectorMapConfig({ layerOptions: [{ dates_as_numbers: true }]}); testClient = new TestClient(mapConfig); }); @@ -53,7 +53,7 @@ describe('date-wrapping', () => { describe('and the layer has the "dates_as_numbers" option disabled', () => { beforeEach(() => { - const mapConfig = mapConfigFactory.getVectorMapConfig({ dates_as_numbers: false }); + const mapConfig = mapConfigFactory.getVectorMapConfig({ layerOptions: [{ dates_as_numbers: false }]}); testClient = new TestClient(mapConfig); });