Opened 3 years ago
Closed 3 years ago
#50741 closed defect (bug) (fixed)
Translation error / typo when using phpunit-test-runner
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.5 | Priority: | normal |
Severity: | normal | Version: | 5.5 |
Component: | Build/Test Tools | Keywords: | |
Focuses: | privacy | Cc: |
Description
We're seeing failing tests when using the phpunit-test-report and phpunit-test-runner. Looks to be a small typo or error in translation:
There were 2 failures:
1) Tests_User_WpSendUserRequest::test_should_send_user_request_email_in_user_locale
Failed asserting that '[Test Blog] Confirmar la acción: Exportar los datos personales' contains "Confirma la".
/var/www/vhosts/wp-test-runner/tests/phpunit/tests/user/wpSendUserRequest.php:295
2) Tests_User_WpSendUserRequest::test_should_send_user_request_email_in_user_locale_when_admin_and_site_have_different_locales
Failed asserting that '[Test Blog] Confirmar la acción: Exportar los datos personales' contains "Confirma la".
/var/www/vhosts/wp-test-runner/tests/phpunit/tests/user/wpSendUserRequest.php:339
Hi there, welcome to WordPress Trac! Thanks for the report.
It looks like "Confirmar la acción" is indeed the current translation for that string.
This doesn't fail on WP Travis because the test suite uses its own translation files, which would need an update too.