]> git.mxchange.org Git - friendica.git/blobdiff - tests/src/Console/ServerBlockConsoleTest.php
Merge pull request #11250 from nupplaphil/bug/redis_pw
[friendica.git] / tests / src / Console / ServerBlockConsoleTest.php
index cb595f99125094e62bc805ec08aff890ff96c47f..202714fb1f020c4dbfb0b9df3b91ca4dd628e462 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
  *
@@ -22,7 +22,7 @@
 namespace Friendica\Test\src\Console;
 
 use Friendica\Console\ServerBlock;
-use Friendica\Core\Config\IConfig;
+use Friendica\Core\Config\Capability\IManageConfigValues;
 use Mockery;
 
 class ServerBlockConsoleTest extends ConsoleTest
@@ -38,15 +38,15 @@ class ServerBlockConsoleTest extends ConsoleTest
                ]
        ];
        /**
-        * @var IConfig|Mockery\LegacyMockInterface|Mockery\MockInterface
+        * @var IManageConfigValues|Mockery\LegacyMockInterface|Mockery\MockInterface
         */
        private $configMock;
 
-       protected function setUp()
+       protected function setUp() : void
        {
                parent::setUp();
 
-               $this->configMock = Mockery::mock(IConfig::class);
+               $this->configMock = Mockery::mock(IManageConfigValues::class);
        }
 
        /**