Skip to content

Commit 3c31e31

Browse files
committed
chore(tests): removing outdated tests
These tests are definitely not doing what we want them to do.
1 parent 1ea7ad4 commit 3c31e31

File tree

1 file changed

+0
-49
lines changed

1 file changed

+0
-49
lines changed

test/functional/uri_tests.js

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -106,55 +106,6 @@ describe('URI', function() {
106106
}
107107
});
108108

109-
it('should correctly connect via normal url using connect', {
110-
// Add a tag that our runner can trigger on
111-
// in this case we are setting that node needs to be higher than 0.10.X to run
112-
metadata: { requires: { topology: 'single' } },
113-
114-
// The actual test we wish to run
115-
test: function(done) {
116-
var mongodb = this.configuration.require;
117-
118-
mongodb.connect('mongodb://localhost/?safe=false', function(err, client) {
119-
client.close();
120-
done();
121-
});
122-
}
123-
});
124-
125-
it('should correctly connect via normal url using require', {
126-
// Add a tag that our runner can trigger on
127-
// in this case we are setting that node needs to be higher than 0.10.X to run
128-
metadata: { requires: { topology: 'single' } },
129-
130-
// The actual test we wish to run
131-
test: function(done) {
132-
require('../..')('mongodb://localhost/', function(err, client) {
133-
client.close();
134-
done();
135-
});
136-
}
137-
});
138-
139-
it('should correctly connect via normal url journal option', {
140-
// Add a tag that our runner can trigger on
141-
// in this case we are setting that node needs to be higher than 0.10.X to run
142-
metadata: { requires: { topology: 'single' } },
143-
144-
// The actual test we wish to run
145-
test: function(done) {
146-
var self = this;
147-
var MongoClient = self.configuration.require.MongoClient;
148-
149-
MongoClient.connect('mongodb://localhost/?journal=true', function(err, client) {
150-
var db = client.db(self.configuration.db);
151-
expect(db.writeConcern.j).to.be.true;
152-
client.close();
153-
done();
154-
});
155-
}
156-
});
157-
158109
it('should correctly connect via normal url using ip', {
159110
// Add a tag that our runner can trigger on
160111
// in this case we are setting that node needs to be higher than 0.10.X to run

0 commit comments

Comments
 (0)