<?php
/**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2022, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
namespace Friendica\Test\src\Core\PConfig;
-use Friendica\Core\PConfig\PreloadPConfig;
-use Friendica\Test\src\Core\PConfig\PConfigTest;
+use Friendica\Core\PConfig\Type\PreloadPConfig;
class PreloadPConfigTest extends PConfigTest
{
public function getInstance()
{
- return new PreloadPConfig($this->configCache, $this->configModel);
+ return new \Friendica\Core\PConfig\Type\PreloadPConfig($this->configCache, $this->configModel);
}
/**
// Assert that every category is loaded everytime
foreach ($data as $cat => $values) {
- $this->assertConfig($uid, $cat, $values);
+ self::assertConfig($uid, $cat, $values);
}
}
// Assert that every category is loaded everytime and is NOT overwritten
foreach ($data1 as $cat => $values) {
- $this->assertConfig($uid, $cat, $values);
+ self::assertConfig($uid, $cat, $values);
}
}