Permalink
Browse files

Removed non-relevant integration test

  • Loading branch information...
1 parent 4c17fbf commit 8b4130b6b1b78498a495cdf6800546a288c90035 Christian Amor Kvalheim committed Jun 15, 2010
Showing with 0 additions and 13 deletions.
  1. +0 −13 integration/integration_tests.js
View
13 integration/integration_tests.js
@@ -3334,18 +3334,6 @@ var all_tests = {
});
},
- test_find_one_error_handling : function() {
- client.createCollection('test_find_one_error_handling', function(err, collection) {
- // Try to fetch an object using a totally invalid and wrong hex string... what we're interested in here
- // is the error handling of the findOne Method
- try {
- collection.findOne({"_id":ObjectID.createFromHexString('5e9bd59248305adf18ebc15703a1')}, function(err, result) {});
- } catch (err) {
- finished_test({test_find_one_error_handling:'ok'});
- }
- });
- },
-
// test_force_binary_error : function() {
// client.createCollection('test_force_binary_error', function(err, collection) {
// // Try to fetch an object using a totally invalid and wrong hex string... what we're interested in here
@@ -3604,7 +3592,6 @@ function run_tests() {
});
}
-
function finished_test(test_object) {
for(var name in test_object) {
sys.puts("= executing test: " + name + " [" + test_object[name] + "]");

0 comments on commit 8b4130b

Please sign in to comment.