[wp-trac] [WordPress Trac] #48317: Unit Test Failures

WordPress Trac noreply at wordpress.org
Tue Oct 15 22:09:40 UTC 2019


#48317: Unit Test Failures
------------------------------+-----------------------------
 Reporter:  mjmaterna         |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 Setting up development environment and ran unit test, using phpUnit.
 Getting errors relating to metadata size element.   Looking at the code,
 i.e the $data[media_details][sizes] should be an array. From looking at
 the code in a debugger, the array [sizes] has zero elements. Code is from
 the master branch.

 Seems like an environment set up issue. The environment is:

 Window 10 Home
 MySQL Version  5.7.19
 IIS
 PHP 7.3.10 (cli) (built: Sep 24 2019 11:58:16) ( NTS MSVC15 (Visual C++
 2017) x64 )
 PHPUnit 7.5.16 by Sebastian Bergmann and contributors.


 See attached for log file and debugging info.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48317>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list