Skip to content

Commit 72c27b0

Browse files
authored
Merge pull request #1160 from strongloop/fix_test
Fix a test
2 parents 0b312e0 + d908a52 commit 72c27b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/persistence-hooks.suite.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ module.exports = function(dataSource, should, connectorCapabilities) {
8080
TestModel.create({name: 'second'}, function(err) {
8181
if (err) return done(err);
8282
var location1 = new GeoPoint({lat: 10.2, lng: 6.7});
83-
var location1 = new GeoPoint({lat: 10.3, lng: 6.8});
83+
var location2 = new GeoPoint({lat: 10.3, lng: 6.8});
8484
GeoModel.create([
8585
{name: 'Rome', location: location1},
86-
{name: 'Tokyo', location: location1},
86+
{name: 'Tokyo', location: location2},
8787
], function(err) {
8888
done(err);
8989
});

0 commit comments

Comments
 (0)