[wp-trac] [WordPress Trac] #37375: Several test setUp() methods don't call parent::setUp()

WordPress Trac noreply at wordpress.org
Thu Nov 23 11:01:43 UTC 2017


#37375: Several test setUp() methods don't call parent::setUp()
------------------------------+--------------------------
 Reporter:  johnbillion       |       Owner:  johnbillion
     Type:  defect (bug)      |      Status:  accepted
 Priority:  normal            |   Milestone:  5.0
Component:  Build/Test Tools  |     Version:
 Severity:  minor             |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+--------------------------

Comment (by birgire):

 It looks like there are two more:

 {{{
 tests/phpunit/tests/oembed/WpEmbed.php:
 tests/phpunit/tests/taxonomy/getObjectTaxonomies.php:

 }}}

 I also noticed that in:

 {{{
 tests/phpunit/tests/image/editor.php

 }}}

 a little mismatch in the method's name, i.e.
 {{{Tests_Image_Editor::setup()}}} instead of
 {{{Tests_Image_Editor::setUp()}}}.

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


More information about the wp-trac mailing list