about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--test/test_admin.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/test_admin.rb b/test/test_admin.rb
index c9b128c..ba24723 100644
--- a/test/test_admin.rb
+++ b/test/test_admin.rb
@@ -35,11 +35,6 @@ class TestMogileFS__Admin < TestMogileFS
   end
 
   def test_each_fid
-    @backend.stats = {
-      'fidmax' => '182',
-      'fidcount' => '2',
-    }
-
     @backend.list_fids = {
       'fid_count' => '1',
       'fid_1_fid' => '99',
@@ -59,6 +54,7 @@ class TestMogileFS__Admin < TestMogileFS
       'fid_1_key' => 'new_new_key',
       'fid_1_length' => '9',
     }
+    @backend.list_fids = { 'fid_count' => 0 }
 
     fids = []
     @client.each_fid { |fid| fids << fid }