- Issue created by @larowlan
- last update
over 1 year ago 30,413 pass - @larowlan opened merge request.
- Status changed to Needs review
over 1 year ago 11:23pm 16 October 2023 - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Sample output
phpunit -c app/core app/core/tests/Drupal/KernelTests/Core/DependencyInjection/AutowireTest.php --filter=CoreSer β³οΈ Bootstrapped tests in 0 seconds. π PHP Version 8.1.23. π§ Drupal Version 11.0-dev. ποΈ Database engine mysql. PHPUnit 9.6.13 by Sebastian Bergmann and contributors. Testing Drupal\KernelTests\Core\DependencyInjection\AutowireTest F 1 / 1 (100%) Time: 00:00.943, Memory: 12.00 MB There was 1 failure: 1) Drupal\KernelTests\Core\DependencyInjection\AutowireTest::testCoreServiceAliases The following core services do not have map the class name to an alias. Add the following to core.services.yml in the appropriate place: Drupal\Core\Foo: '@foo.class' Failed asserting that two arrays are identical. --- Expected +++ Actual @@ @@ 'Drupal\Core\TempStore\SharedTempStoreFactory' => 'tempstore.shared' 'Drupal\Core\Pager\PagerManagerInterface' => 'pager.manager' 'Drupal\Core\Pager\PagerParametersInterface' => 'pager.parameters' - 'Drupal\Core\Foo' => 'foo.class' ) /data/app/core/tests/Drupal/KernelTests/Core/DependencyInjection/AutowireTest.php:115
- Status changed to RTBC
over 1 year ago 7:03am 17 October 2023 - πΊπΈUnited States smustgrave
Output message seems clear and obviously way more helpful!
- π¬π§United Kingdom longwave UK
Committed and pushed 2402f97b33 to 11.x and 09d7cff72b to 10.2.x and c354872a25 to 10.1.x. Thanks!
-
longwave β
committed c354872a on 10.1.x
Issue #3394450 by larowlan: Improve the failure message from Drupal\...
-
longwave β
committed c354872a on 10.1.x
-
longwave β
committed 09d7cff7 on 10.2.x
Issue #3394450 by larowlan: Improve the failure message from Drupal\...
-
longwave β
committed 09d7cff7 on 10.2.x
- Status changed to Fixed
over 1 year ago 9:29am 17 October 2023 -
longwave β
committed 2402f97b on 11.x
Issue #3394450 by larowlan: Improve the failure message from Drupal\...
-
longwave β
committed 2402f97b on 11.x
Automatically closed - issue fixed for 2 weeks with no activity.