Skip to content

Commit

Permalink
Remove dependency on weitzman/drupal-test-traits (#4256)
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-m authored Aug 21, 2024
1 parent 2eb0ed1 commit af1f25e
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@
"drush/drush": "^12@stable",
"getdkan/mock-chain": "^1.3.7",
"osteel/openapi-httpfoundation-testing": "<1.0",
"phpunit/phpunit": "^8.5.14 || ^9",
"weitzman/drupal-test-traits": "^2.0.1"
"phpunit/phpunit": "^9.6"
},
"repositories": {
"drupal": {
Expand Down
2 changes: 1 addition & 1 deletion modules/common/tests/src/Traits/CleanUp.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use FileFetcher\FileFetcher;

/**
*
* @deprecated Will be removed in a future version of DKAN.
*/
trait CleanUp {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*/
class DictionaryEnforcerTest extends BrowserTestBase {

use GetDataTrait, CleanUp, QueueRunnerTrait;
use GetDataTrait, QueueRunnerTrait;

protected $defaultTheme = 'stark';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
*/
class ResourcePurgerTest extends BrowserTestBase {
use GetDataTrait;
use CleanUp;
use QueueRunnerTrait;

protected static $modules = [
Expand Down
3 changes: 1 addition & 2 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?xml version="1.0"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
bootstrap="/var/www/html/vendor/weitzman/drupal-test-traits/src/bootstrap.php"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
colors="true"
verbose="true">
<coverage>
Expand Down

0 comments on commit af1f25e

Please sign in to comment.