From 905208f8808edf16dd790299d8cf24f3c8ac5855 Mon Sep 17 00:00:00 2001 From: Wolfgang Ziegler // fago Date: Fri, 4 Dec 2020 22:56:31 +0100 Subject: [PATCH] Update to phpunit 9.5 as needed by Drupal core now. Tests need to be updated. --- composer.json | 2 +- tests/src/Core/Config/ConfigFactoryTraitTest.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 8281d6c..644b0d1 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "drupal/core": "9.1.*" }, "require-dev": { - "phpunit/phpunit": "~4.8", + "phpunit/phpunit": "^9.5.0", "drupal/pathauto": "^1.6", "drupal/coder": "^8.2" }, diff --git a/tests/src/Core/Config/ConfigFactoryTraitTest.php b/tests/src/Core/Config/ConfigFactoryTraitTest.php index 120a9b9..8fa3f85 100644 --- a/tests/src/Core/Config/ConfigFactoryTraitTest.php +++ b/tests/src/Core/Config/ConfigFactoryTraitTest.php @@ -2,6 +2,7 @@ namespace drunomics\ServiceUtils\Tests\Core\Config; +use PHPUnit\Framework\TestCase; use drunomics\ServiceUtils\Core\Config\ConfigFactoryTrait; use Drupal\Core\DependencyInjection\Container; use Drupal\Core\Config\ConfigFactoryInterface; @@ -10,7 +11,7 @@ * @coversDefaultClass \drunomics\ServiceUtils\Core\Config\ConfigFactoryTrait * @group ServiceUtils */ -class ConfigFactoryTraitTest extends \PHPUnit_Framework_TestCase { +class ConfigFactoryTraitTest extends TestCase { use ConfigFactoryTrait;