WordPress.org

Make WordPress Core

Opened 6 months ago

Closed 4 months ago

#48845 closed enhancement (fixed)

unittest for wp_remote_fopen()

Reported by: pbearne Owned by: SergeyBiryukov
Milestone: 5.4 Priority: normal
Severity: normal Version: 5.4
Component: HTTP API Keywords: has-unit-tests dev-feedback
Focuses: Cc:

Description

just a missing unii test

Attachments (2)

48845.patch (1.0 KB) - added by pbearne 6 months ago.
48845.2.diff (877 bytes) - added by donmhico 4 months ago.

Download all attachments as: .zip

Change History (6)

@pbearne
6 months ago

#1 @SergeyBiryukov
6 months ago

  • Component changed from General to HTTP API
  • Milestone changed from Awaiting Review to 5.4
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

@donmhico
4 months ago

#2 @donmhico
4 months ago

Thanks for the report and patch @pbearne. I just cleaned it up a little in 48845.2.diff.

#3 @pbearne
4 months ago

@donmhico thanks for the clean up it needed it :-)

#4 @SergeyBiryukov
4 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 47142:

HTTP API: Add some basic tests for wp_remote_fopen().

Props pbearne, donmhico.
Fixes #48845.

Note: See TracTickets for help on using tickets.