From c87b89dea947ac11ce46f9f7d6dcf873caa990d4 Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Fri, 20 Mar 2009 10:26:13 +0000 Subject: remove leftovers of MOVE form the stats tests git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@756404 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/test/stats.js | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'share/www/script/test/stats.js') diff --git a/share/www/script/test/stats.js b/share/www/script/test/stats.js index 9fb643b2..6d56a81b 100644 --- a/share/www/script/test/stats.js +++ b/share/www/script/test/stats.js @@ -264,22 +264,6 @@ couchTests.stats = function(debug) { TEquals(copies + 1, new_copies, name); }, - 'should increment database changes counter for document moves': function(name) { - var db = new CouchDB("test_suite_db"); - db.deleteDb(); - db.createDb(); - - var doc = {"_id":"test"}; - db.save(doc); - - var moves = requestStatsTest("couchdb", "database_writes").current; - CouchDB.request("MOVE", "/test_suite_db/test?rev=" + doc._rev, { - headers: {"Destination":"move_of_test"} - }); - var new_moves = requestStatsTest("couchdb", "database_writes").current; - - TEquals(moves + 1, new_moves, name); - }, 'should increase the bulk doc counter': function(name) { var db = new CouchDB("test_suite_db"); db.deleteDb(); -- cgit v1.2.3