From d908a52753944cc784d8c03d45fd33ba9efe6df5 Mon Sep 17 00:00:00 2001 From: Amir Jafarian Date: Sun, 30 Oct 2016 20:50:06 -0400 Subject: [PATCH] Fix a test * Fix location for an instance in a test --- test/persistence-hooks.suite.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/persistence-hooks.suite.js b/test/persistence-hooks.suite.js index aa8d4f6e..f772f35f 100644 --- a/test/persistence-hooks.suite.js +++ b/test/persistence-hooks.suite.js @@ -80,10 +80,10 @@ module.exports = function(dataSource, should, connectorCapabilities) { TestModel.create({name: 'second'}, function(err) { if (err) return done(err); var location1 = new GeoPoint({lat: 10.2, lng: 6.7}); - var location1 = new GeoPoint({lat: 10.3, lng: 6.8}); + var location2 = new GeoPoint({lat: 10.3, lng: 6.8}); GeoModel.create([ {name: 'Rome', location: location1}, - {name: 'Tokyo', location: location1}, + {name: 'Tokyo', location: location2}, ], function(err) { done(err); });