You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With our default configuration for phpunit, running tests on localgov_blogs gives me the following output.
finn@Oobuntoo:~/sites/l.microsites/MY_PROJECT$ ddev phpunit web/modules/contrib/localgov_blogs/
PHPUnit 9.6.19 by Sebastian Bergmann and contributors.
Testing /var/www/html/web/modules/contrib/localgov_blogs
. 1 / 1 (100%)
Time: 00:08.544, Memory: 6.00 MB
OK (1 test, 19 assertions)
HTML output was generated
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-16-31830079.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-17-31830079.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-18-31830079.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-19-31830079.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-20-31830079.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-21-31830079.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-22-31830079.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-23-31830079.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-24-31830079.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-25-31830079.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-26-31830079.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-27-31830079.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-28-31830079.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-29-31830079.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-30-31830079.html
Remaining self deprecation notices (21)
6x: The definition for the 'core.entity_form_display.node.localgov_blog_post.default.third_party_settings.field_group.group_about.children' sequence declares the type of its items in a way that is deprecated in drupal:8.0.0 and is removed from drupal:11.0.0. See https://www.drupal.org/node/2442603
6x in BlogCreationTest::testBlogChannelSelection from Drupal\Tests\localgov_blogs\Functional
5x: The core/modernizr asset library is deprecated in Drupal 10.1.0 and will be removed in Drupal 11.0.0. See https://www.drupal.org/node/3333253
5x in BlogCreationTest::testBlogChannelSelection from Drupal\Tests\localgov_blogs\Functional
4x: The definition for the 'core.entity_form_display.node.localgov_blog_post.default.third_party_settings.field_group' sequence declares the type of its items in a way that is deprecated in drupal:8.0.0 and is removed from drupal:11.0.0. See https://www.drupal.org/node/2442603
4x in BlogCreationTest::testBlogChannelSelection from Drupal\Tests\localgov_blogs\Functional
3x: The definition for the 'core.entity_form_display.node.localgov_blog_post.default.third_party_settings.field_group.group_tabs.children' sequence declares the type of its items in a way that is deprecated in drupal:8.0.0 and is removed from drupal:11.0.0. See https://www.drupal.org/node/2442603
3x in BlogCreationTest::testBlogChannelSelection from Drupal\Tests\localgov_blogs\Functional
2x: The definition for the 'core.entity_form_display.node.localgov_blog_post.default.third_party_settings.field_group.group_content.children' sequence declares the type of its items in a way that is deprecated in drupal:8.0.0 and is removed from drupal:11.0.0. See https://www.drupal.org/node/2442603
2x in BlogCreationTest::testBlogChannelSelection from Drupal\Tests\localgov_blogs\Functional
1x: The definition for the 'core.entity_form_display.node.localgov_blog_post.default.third_party_settings.field_group.group_related_content.children' sequence declares the type of its items in a way that is deprecated in drupal:8.0.0 and is removed from drupal:11.0.0. See https://www.drupal.org/node/2442603
1x in BlogCreationTest::testBlogChannelSelection from Drupal\Tests\localgov_blogs\Functional
Failed to run phpunit web/modules/contrib/localgov_blogs/: exit status 1
The "Remaining self deprecation notices" are usually superfluous to our needs. Locally I am focusing on the test output and on Github we run separate deprecation tests.
We can suppress the deprecation notices by setting an environment variable for phpunit in out phpunit.dst.xml file.
<!-- Disable the deprecations helper for more readable test output. -->
<env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled"/>
The output then looks like this:
finn@Oobuntoo:~/sites/l.microsites/MY_PROJECT$ ddev phpunit web/modules/contrib/localgov_blogs/
PHPUnit 9.6.19 by Sebastian Bergmann and contributors.
Testing /var/www/html/web/modules/contrib/localgov_blogs
. 1 / 1 (100%)
Time: 00:08.257, Memory: 4.00 MB
OK (1 test, 19 assertions)
HTML output was generated
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-31-53947044.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-32-53947044.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-33-53947044.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-34-53947044.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-35-53947044.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-36-53947044.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-37-53947044.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-38-53947044.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-39-53947044.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-40-53947044.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-41-53947044.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-42-53947044.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-43-53947044.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-44-53947044.html
https://localgov-microsites.ddev.site/sites/simpletest/browser_output/Drupal_Tests_localgov_blogs_Functional_BlogCreationTest-45-53947044.html
finn@Oobuntoo:~/sites/l.microsites/MY_PROJECT$
The text was updated successfully, but these errors were encountered:
With our default configuration for phpunit, running tests on localgov_blogs gives me the following output.
The "Remaining self deprecation notices" are usually superfluous to our needs. Locally I am focusing on the test output and on Github we run separate deprecation tests.
We can suppress the deprecation notices by setting an environment variable for phpunit in out phpunit.dst.xml file.
The output then looks like this:
The text was updated successfully, but these errors were encountered: