Skip to content

Commit c4970ae

Browse files
committed
Updates property-timezone test to avoid testing sqlite if no pathname is given
The test cannot be done using ':memory:'
1 parent 5aa8424 commit c4970ae

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/integration/property-timezones.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ var common = require('../common');
44
var ORM = require('../../');
55

66
if (common.protocol() == "mongodb") return;
7+
if (common.protocol() == "sqlite" && !common.getConfig().pathname) {
8+
// sqlite needs a pathname for this test (because of reconnecting)
9+
// if using memory, when disconnecting everything is lost and this
10+
// test needs it
11+
return;
12+
}
713

814
describe("Timezones", function() {
915
var db = null;
@@ -58,7 +64,7 @@ describe("Timezones", function() {
5864
}
5965
});
6066

61-
describe.skip("different for each connection", function () {
67+
describe("different for each connection", function () {
6268
before(setup({
6369
sync : true,
6470
query : { timezone: '+0200' }

0 commit comments

Comments
 (0)