WordPress.org

Make WordPress Core

Opened 5 weeks ago

Last modified 5 weeks ago

#48317 new defect (bug)

Unit Test Failures

Reported by: mjmaterna Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords:
Focuses: Cc:
PR Number:

Description

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.

Attachments (2)

log3.txt (181.3 KB) - added by mjmaterna 5 weeks ago.
Log File
Debugger.zip (1.5 MB) - added by mjmaterna 5 weeks ago.
Dedugger screen shots

Download all attachments as: .zip

Change History (3)

@mjmaterna
5 weeks ago

Log File

@mjmaterna
5 weeks ago

Dedugger screen shots

This ticket was mentioned in Slack in #core by mjmaterna. View the logs.


5 weeks ago

Note: See TracTickets for help on using tickets.