Browse Source

Removing bad test, it was always skipped before and was left broken

José Lorenzo Rodríguez 11 years ago
parent
commit
1d38a31ebc
1 changed files with 0 additions and 20 deletions
  1. 0 20
      tests/TestCase/Cache/Engine/MemcachedEngineTest.php

+ 0 - 20
tests/TestCase/Cache/Engine/MemcachedEngineTest.php

@@ -829,26 +829,6 @@ class MemcachedEngineTest extends TestCase
     }
 
     /**
-     * test that durations greater than 30 days never expire
-     *
-     * @return void
-     */
-    public function testLongDurationEqualToZero()
-    {
-        $memcached = new TestMemcachedEngine();
-        $memcached->init(['prefix' => 'Foo_', 'compress' => false, 'duration' => 50 * DAY]);
-
-        $mock = $this->getMock('Memcached');
-        $memcached->setMemcached($mock);
-        $mock->expects($this->once())
-            ->method('set')
-            ->with('Foo_key', 'value', 0);
-
-        $value = 'value';
-        $memcached->write('key', $value);
-    }
-
-    /**
      * Tests that configuring groups for stored keys return the correct values when read/written
      * Shows that altering the group value is equivalent to deleting all keys under the same
      * group