]> git.mxchange.org Git - friendica.git/blobdiff - tests/src/Core/PConfig/PreloadPConfigTest.php
Merge pull request #11195 from annando/issue-10966
[friendica.git] / tests / src / Core / PConfig / PreloadPConfigTest.php
index 984d2c0e26302e7424ccc92f3131b9de6c01bdd0..04f9cd8e856da1fcb78d1c9fa4747d84d61ee0ce 100644 (file)
@@ -1,6 +1,6 @@
 <?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);
        }
 
        /**
@@ -49,7 +48,7 @@ class PreloadPConfigTest extends PConfigTest
 
                // Assert that every category is loaded everytime
                foreach ($data as $cat => $values) {
-                       $this->assertConfig($uid, $cat, $values);
+                       self::assertConfig($uid, $cat, $values);
                }
        }
 
@@ -71,7 +70,7 @@ class PreloadPConfigTest extends PConfigTest
 
                // 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);
                }
        }