public function testWfMkdirParents() {
// Should not return true if file exists instead of directory
$fname = $this->getNewTempFile();
- MediaWiki\suppressWarnings();
+ Wikimedia\suppressWarnings();
$ok = wfMkdirParents( $fname );
- MediaWiki\restoreWarnings();
+ Wikimedia\restoreWarnings();
$this->assertFalse( $ok );
}
);
}
+ /**
+ * @covers ::wfMemcKey
+ */
public function testWfMemcKey() {
$cache = ObjectCache::getLocalClusterInstance();
$this->assertEquals(
);
}
+ /**
+ * @covers ::wfForeignMemcKey
+ */
public function testWfForeignMemcKey() {
$cache = ObjectCache::getLocalClusterInstance();
$keyspace = $this->readAttribute( $cache, 'keyspace' );
);
}
+ /**
+ * @covers ::wfGlobalCacheKey
+ */
public function testWfGlobalCacheKey() {
$cache = ObjectCache::getLocalClusterInstance();
$this->assertEquals(