Fix coreLocations tests access of locationSetID property

This commit is contained in:
Bryan Housel
2021-08-16 14:11:36 -04:00
parent 5aee120a86
commit 746417e1f4
+4 -4
View File
@@ -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);