[wp-trac] [WordPress Trac] #44233: Add missing unit tests for exporting personal data by username or email address

WordPress Trac noreply at wordpress.org
Mon Aug 13 19:01:11 UTC 2018


#44233: Add missing unit tests for exporting personal data by username or email
address
-------------------------+------------------------
 Reporter:  desrosj      |       Owner:  desrosj
     Type:  enhancement  |      Status:  reviewing
 Priority:  low          |   Milestone:  4.9.9
Component:  Privacy      |     Version:  4.9.6
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------

Comment (by desrosj):

 [attachment:"44233.4.diff"] fixes the failing tests in PHP 5.2. In PHPUnit
 3.6 (which the PHP 5.2 build in Travis uses), the `@expectedException` tag
 cannot expect a general exception. The
 `test_function_detects_cannot_write_html()` and
 `test_function_detects_cannot_create_index()` functions are still failing
 locally for me, though.

 Here is the passing PHP 5.2 build: https://travis-ci.org/desrosj
 /wordpress-develop/jobs/415579815

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44233#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list