Skip to content

Commit dce0889

Browse files
committed
Removes code to stop some tests on mongodb
They will be blacklisted in run.js
1 parent c4c1154 commit dce0889

5 files changed

+0
-24
lines changed

test/integration/association-hasmany-extra.js

-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
var should = require('should');
22
var helper = require('../support/spec_helper');
33
var ORM = require('../../');
4-
var common = require('../common');
5-
6-
if (common.protocol() == "mongodb") {
7-
process.exit(0);
8-
}
94

105
describe("hasMany extra properties", function() {
116
var db = null;

test/integration/association-hasmany.js

-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
var should = require('should');
22
var helper = require('../support/spec_helper');
33
var ORM = require('../../');
4-
var common = require('../common');
5-
6-
if (common.protocol() == "mongodb") {
7-
process.exit(0);
8-
}
94

105
describe("hasMany", function () {
116
this.timeout(4000);

test/integration/model-aggregate.js

-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
var should = require('should');
22
var helper = require('../support/spec_helper');
33
var ORM = require('../../');
4-
var common = require('../common');
5-
6-
if (common.protocol() == "mongodb") {
7-
process.exit(0);
8-
}
94

105
describe("Model.aggregate()", function() {
116
var db = null;

test/integration/property-lazyload.js

-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
var should = require('should');
22
var helper = require('../support/spec_helper');
33
var ORM = require('../../');
4-
var common = require('../common');
5-
6-
if (common.protocol() == "mongodb") {
7-
process.exit(0);
8-
}
94

105
describe("LazyLoad properties", function() {
116
var db = null;

test/integration/property-number-size.js

-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ var helper = require('../support/spec_helper');
44
var ORM = require('../../');
55
var protocol = common.protocol().toLowerCase();
66

7-
if (protocol == "mongodb") {
8-
process.exit(0);
9-
}
10-
117
// Round because different systems store floats in different
128
// ways, thereby introducing small errors.
139
function round(num, points) {

0 commit comments

Comments
 (0)