summaryrefslogtreecommitdiff
path: root/tests/Unit/Config/ConfigServiceProviderTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Unit/Config/ConfigServiceProviderTest.php')
-rw-r--r--tests/Unit/Config/ConfigServiceProviderTest.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/Unit/Config/ConfigServiceProviderTest.php b/tests/Unit/Config/ConfigServiceProviderTest.php
index b93e1b97..895496b8 100644
--- a/tests/Unit/Config/ConfigServiceProviderTest.php
+++ b/tests/Unit/Config/ConfigServiceProviderTest.php
@@ -2,6 +2,7 @@
namespace Engelsystem\Test\Unit\Config;
+use DMS\PHPUnitExtensions\ArraySubset\ArraySubsetAsserts;
use Engelsystem\Application;
use Engelsystem\Config\Config;
use Engelsystem\Config\ConfigServiceProvider;
@@ -14,13 +15,15 @@ use PHPUnit\Framework\MockObject\MockObject;
class ConfigServiceProviderTest extends ServiceProviderTest
{
+ use ArraySubsetAsserts;
+
/**
* @covers \Engelsystem\Config\ConfigServiceProvider::register
* @covers \Engelsystem\Config\ConfigServiceProvider::getConfigPath
*/
public function testRegister()
{
- /** @var MockObject|Config $config */
+ /** @var Config|MockObject $config */
$config = $this->getMockBuilder(Config::class)
->getMock();
@@ -61,7 +64,7 @@ class ConfigServiceProviderTest extends ServiceProviderTest
*/
public function testRegisterException()
{
- /** @var MockObject|Config $config */
+ /** @var Config|MockObject $config */
$config = $this->getMockBuilder(Config::class)
->getMock();