Skip to content

Commit

Permalink
phpunit updates
Browse files Browse the repository at this point in the history
  • Loading branch information
DDEV User committed Jul 29, 2024
1 parent c788a75 commit 3459838
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
"composer/installers": "^2.1",
"drupal/coder": "~8.3.0",
"phpspec/phpspec": "~2.0 || ~4.0 || ~6.1 || dev-main",
"phpunit/phpunit": "~6.0 || ~7.0 || ^9",
"phpunit/phpunit": "~6.0 || ~7.0 || ^9 || ^10",
"mockery/mockery": "^1.5",
"drupal/core-composer-scaffold": "^8.4 || ^9 || ^10 || ^11",
"drupal/core-recommended": "^8.4 || ^9 || ^10 || ^11",
"drupal/mailsystem": "^4.4 || 4.x-dev",
"drush-ops/behat-drush-endpoint": "*",
"php-parallel-lint/php-parallel-lint": "^1.0",
"dms/phpunit-arraysubset-asserts": "^0.4.0",
"dms/phpunit-arraysubset-asserts": "^0.4.0 || ^0.5.0",
"palantirnet/drupal-rector": "^0.13",
"symfony/phpunit-bridge": "^6.1"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/Drupal/Tests/Driver/Drupal7FieldHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function testFieldHandlers($class_name, $entity, $entity_type, array $fie
* @return array
* An array of test data.
*/
public function dataProvider() {
public static function dataProvider() {
return [
// Test default text field provided as simple text.
[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* Base class for field handler tests.
*/
abstract class FieldHandlerAbstractTest extends TestCase {
abstract class FieldHandlerAbstractTestBase extends TestCase {

/**
* {@inheritdoc}
Expand Down

0 comments on commit 3459838

Please sign in to comment.