Skip to content

Commit

Permalink
Issue KEY-TEC#9: Drupal 10 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduardo-Morales-Alberti committed Sep 18, 2023
1 parent d3a31c1 commit 0029a36
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"webflo/drupal-core-require-dev": "^8.5",
"phpro/grumphp": "0.11.4",
"peridot-php/leo": "^1.6",
"openeuropa/task-runner": "^0.4"
"openeuropa/task-runner": "^0.4",
"phpspec/prophecy-phpunit": "^2.0"
},
"repositories": [
{
Expand Down
3 changes: 1 addition & 2 deletions content_translation_access.info.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
type: module
core: 8.x
core_version_requirement: ^8 || ^9
core_version_requirement: ^9 || ^10
name: Content translation access
dependencies:
- drupal:content_translation
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
type: module
core: 8.x
core_version_requirement: ^8 || ^9
core_version_requirement: ^9 || ^10
name: Content translation success user
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Content translation access test
package: Testing
type: module
core: 8.x
core_version_requirement: ^9 || ^10
3 changes: 3 additions & 0 deletions tests/src/Kernel/ContentTranslationAccessKernelTestBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use Drupal\Core\Language\Language;
use Drupal\Core\Language\LanguageManagerInterface;
use Drupal\KernelTests\Core\Entity\EntityLanguageTestBase;
use Prophecy\PhpUnit\ProphecyTrait;

/**
* Base controller.
Expand All @@ -16,6 +17,8 @@
*/
class ContentTranslationAccessKernelTestBase extends EntityLanguageTestBase {

use ProphecyTrait;

/**
* Modules to enable.
*
Expand Down

0 comments on commit 0029a36

Please sign in to comment.