From 746417e1f4f59e3ba0dd9cb3d7cac8bda1e0ee88 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Mon, 16 Aug 2021 14:11:36 -0400 Subject: [PATCH] Fix coreLocations tests access of locationSetID property --- test/spec/core/locations.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/spec/core/locations.js b/test/spec/core/locations.js index cf1706060..230e2de2e 100644 --- a/test/spec/core/locations.js +++ b/test/spec/core/locations.js @@ -62,8 +62,8 @@ describe('iD.coreLocations', function() { prom .then(function(data) { expect(data).to.be.a('array'); - expect(data[0]).locationSetID.to.eql('+[Q2]'); - expect(data[1]).locationSetID.to.eql('+[Q30]'); + expect(data[0].locationSetID).to.eql('+[Q2]'); + expect(data[1].locationSetID).to.eql('+[Q30]'); }) .finally(done); @@ -79,8 +79,8 @@ describe('iD.coreLocations', function() { prom .then(function(data) { expect(data).to.be.a('array'); - expect(data[0]).locationSetID.to.eql('+[Q2]'); - expect(data[1]).locationSetID.to.eql('+[Q2]'); + expect(data[0].locationSetID).to.eql('+[Q2]'); + expect(data[1].locationSetID).to.eql('+[Q2]'); }) .finally(done);