- 🇮🇳India hiramanpatil
@arshadkhan35,
I have tried it but still getting the same error.
Please check my reply here - https://www.drupal.org/project/drupal/issues/3346242#comment-15387854 →
Were you able to run any contributed module tests?
Thanks,
An attempt to run php vendor/phpunit/phpunit/phpunit -c web/core web/core/modules/views/tests/src/Unit/Plugin/argument_default/RawTest.php
resulted to me with:
Fatal error: Trait 'Prophecy\PhpUnit\ProphecyTrait' not found in D:\wamp\www\d9unit\web\core\tests\Drupal\TestTo
ols\PhpUnitCompatibility\PhpUnit9\TestCompatibilityTrait.php on line 12
This happened to me with latest D9.1.x-dev (e0f0ebc)
According to change record
Updated to PHPUnit 9 →
Use composer drupal-phpunit-upgrade
See
#4
🐛
PHPUnit 9.4.3 Fatal error: Trait 'Prophecy\PhpUnit\ProphecyTrait' not found
Fixed
The original proposal, which also worked
The error is fixed for me after I run: composer require phpspec/prophecy-phpunit
So, this dependency might be missing somewhere probably.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
@arshadkhan35,
I have tried it but still getting the same error.
Please check my reply here - https://www.drupal.org/project/drupal/issues/3346242#comment-15387854 →
Were you able to run any contributed module tests?
Thanks,