mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-09 04:52:42 +00:00
Merge branch 'master' into 2.6
This commit is contained in:
commit
4c93f103c7
3 changed files with 62 additions and 17 deletions
|
@ -349,14 +349,7 @@ class MemcachedEngineTest extends CakeTestCase {
|
|||
'password' => 'password'
|
||||
);
|
||||
|
||||
$this->skipIf(
|
||||
method_exists($Memcached->getMemcached(), 'setSaslAuthData'),
|
||||
'Memcached extension is installed with SASL support'
|
||||
);
|
||||
|
||||
$this->setExpectedException(
|
||||
'CacheException', 'Memcached extension is not build with SASL support'
|
||||
);
|
||||
$this->setExpectedException('PHPUnit_Framework_Error_Warning');
|
||||
$Memcached->init($settings);
|
||||
}
|
||||
|
||||
|
@ -707,6 +700,8 @@ class MemcachedEngineTest extends CakeTestCase {
|
|||
* @return void
|
||||
*/
|
||||
public function testLongDurationEqualToZero() {
|
||||
$this->markTestSkipped('Cannot run as Memcached cannot be reflected');
|
||||
|
||||
$memcached = new TestMemcachedEngine();
|
||||
$memcached->settings['compress'] = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue