#5363 - Re-run all automated tests

This is a spacer post for a website comment topic. The content this topic relates to: #5363 - Re-run all automated tests
Was actually planning to do this tonight. Reading my mind, haha.
Heads up for future compatibility... in PHP 8.1, aws_ses and spreadsheets test fail on PHP 8.1 as there have been type changes. zip also fails on php 8.1 due to deprecation.
Under PHP dev, these tests are currently failing (and I have not fixed them):

database_misc:
Fail: database_misc_test_set -> testFullTextSearch -> by_keyword failed, got 0 rows but expected 20 rows. at [/home/patricks/git/composr/_tests/tests/unit_tests/database_misc.php line 603]
Fail: database_misc_test_set -> testFullTextSearch -> boolean_yes__success failed, got 0 rows but expected 1 rows. at [/home/patricks/git/composr/_tests/tests/unit_tests/database_misc.php line 603]
Fail: database_misc_test_set -> testFullTextSearch -> boolean_no__success failed, got 0 rows but expected 1 rows. at [/home/patricks/git/composr/_tests/tests/unit_tests/database_misc.php line 603]
(also $LAST_SEARCH_QUERY is always unset which triggered PHP errors, so I temporarily removed it from the test text).

form_to_mail:
Not queuing an e-mail because dispatch_mail is receiving blank for both from and to e-mails.

sitemap_submit:
Unknown HTTP status received for http://www.bing.com/webmaster/ping.aspx?siteMap=https%3A%2F%2Fcompo.sr%2Fdata_custom%2Fsitemaps%2Findex.xml (410).
(Looks like Bing changed their URL... 410 means "gone")

tempcode_errors:
CALENDAR_EVENT_SCREEN has a "<div{" and GRAPH_BUBBLE_BAR_CHART has "<th{" . Did not know how to resolve these without adding an arbitrary empty attribute on the tag before the start of the Tempcode.

template_parameter_consistency:
Could not find preview of ADDON_NAME (This is probably because of your re-design of the Addon management screen)

theme_images:
Fail: theme_images_test_set -> testIconsSquare -> Cannot find SVG width/height in /home/patricks/git/composr/themes/default/images/icons/news/entertainment.svg at [/home/patricks/git/composr/_tests/tests/unit_tests/theme_images.php line 69]
Fail: theme_images_test_set -> testIconsSquare -> Cannot find SVG width/height in /home/patricks/git/composr/themes/default/images/icons/news/business.svg at [/home/patricks/git/composr/_tests/tests/unit_tests/theme_images.php line 69]
Fail: theme_images_test_set -> testIconsSquare -> Cannot find SVG width/height in /home/patricks/git/composr/themes/default/images/icons/news/art.svg at [/home/patricks/git/composr/_tests/tests/unit_tests/theme_images.php line 69]
Fail: theme_images_test_set -> testIconsSquare -> Cannot find SVG width/height in /home/patricks/git/composr/themes/default/images/icons/news/general.svg at [/home/patricks/git/composr/_tests/tests/unit_tests/theme_images.php line 69]
Fail: theme_images_test_set -> testIconsSquare -> Cannot find SVG width/height in /home/patricks/git/composr/themes/default/images/icons/news/technology.svg at [/home/patricks/git/composr/_tests/tests/unit_tests/theme_images.php line 69]
Fail: theme_images_test_set -> testIconsSquare -> Cannot find SVG width/height in /home/patricks/git/composr/themes/default/images/icons/news/difficulties.svg at [/home/patricks/git/composr/_tests/tests/unit_tests/theme_images.php line 69]
Fail: theme_images_test_set -> testIconsSquare -> Cannot find SVG width/height in /home/patricks/git/composr/themes/default/images/icons/news/community.svg at [/home/patricks/git/composr/_tests/tests/unit_tests/theme_images.php line 69]
(Not sure why they're missing; we explicitly set them in our program)

third_party_code:
Fail: third_party_code_test_set -> testHealthCheckReferences -> Missing Health Check for Google Safe Browsing: Malware at [/home/patricks/git/composr/_tests/tests/unit_tests/third_party_code.php line 202]
Fail: third_party_code_test_set -> testTestReferences -> Could not find referenced test for Twitter class, _api_twitter at [/home/patricks/git/composr/_tests/tests/unit_tests/third_party_code.php line 216]

webdav:
Fail: webdav_test_set -> testWebdav -> .htaccess file not present for WebDAV at [/home/patricks/git/composr/_tests/tests/unit_tests/webdav.php line 44]
I have continuous integration enabled on v11. I don't think this issue is necessary anymore because CI comments on our pushes with the tests that fail. This will give us constant reminders of the test suite.
0 guests and 0 members have recently viewed this.