Skip to content

Allow final classes to be mocked #769

Allow final classes to be mocked

Allow final classes to be mocked #769

Triggered via pull request October 31, 2023 08:08
Status Failure
Total duration 1m 35s
Artifacts

ci.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
tests (8.1): public/modules/contrib/helfi_api_base/src/Commands/DeployCommands.php#L1
Ignored error pattern #^Method Symfony\\Contracts\\EventDispatcher\\EventDispatcherInterface::dispatch\(\) invoked with 2 parameters, 1 required.# in path /github/home/drupal/public/modules/contrib/helfi_api_base/src/Commands/DeployCommands.php was not matched in reported errors.
tests (8.1): public/modules/contrib/helfi_api_base/src/Commands/TestCommands.php#L37
Call to an undefined static method Drupal\Core\Test\TestDatabase::getConnection().
tests (8.1): public/modules/contrib/helfi_api_base/src/Entity/Revision/RevisionManager.php#L107
Call to deprecated method deleteRevision() of class Drupal\Core\Entity\EntityStorageInterface: in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Entity\RevisionableStorageInterface::deleteRevision instead.
tests (8.1): public/modules/contrib/helfi_api_base/src/Entity/Revision/RevisionManager.php#L154
Call to deprecated method loadRevision() of class Drupal\Core\Entity\EntityStorageInterface: in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Entity\RevisionableStorageInterface::loadRevision instead.
tests (8.1): public/modules/contrib/helfi_api_base/tests/src/Kernel/EnvironmentResponseSubscriberTest.php#L55
Fetching deprecated class constant MASTER_REQUEST of class Symfony\Component\HttpKernel\HttpKernelInterface: since symfony/http-kernel 5.3, use MAIN_REQUEST instead. To ease the migration, this constant won't be removed until Symfony 7.0.
tests (8.1): public/modules/contrib/helfi_api_base/tests/src/Kernel/TestLoggerTraitTest.php#L52
Call to deprecated function watchdog_exception(): in drupal:10.1.0 and is removed from drupal:11.0.0. Use Use \Drupal\Core\Utility\Error::logException() instead.
tests (8.1)
Process completed with exit code 1.
tests (8.2)
The job was canceled because "_8_1" failed.
tests (8.2)
The operation was canceled.
tests (8.1)
No files were found with the provided path: /github/home/drupal/public/sites/simpletest/browser_output/ /github/home/drupal/coverage.xml. No artifacts will be uploaded.
tests (8.2)
No files were found with the provided path: /github/home/drupal/public/sites/simpletest/browser_output/ /github/home/drupal/coverage.xml. No artifacts will be uploaded.