Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#27256 closed defect (bug) (fixed)

Unit test test_video_shortcode_body() fails

Reported by: ericlewis Owned by: SergeyBiryukov
Priority: normal Milestone: 3.9
Component: Media Version: 3.9
Severity: normal Keywords: has-patch
Cc: Focuses:

Description


Attachments (1)

27256.diff (1.1 KB ) - added by ericlewis 12 years ago.

Download all attachments as: .zip

Change History (4)

@ericlewis
12 years ago

#1 @ericlewis
12 years ago

  • Keywords has-patch added

test_video_shortcode_body() was failing because test_constrain_size_for_editor_medium() and test_constrain_size_for_editor_full() were changing global $content_width manually, without cleaning up after themselves.

Made with love at WordCamp Lancaster contributor day with @georgestephanis @salcode @jorbin

Last edited 12 years ago by ericlewis (previous) (diff)

#2 @SergeyBiryukov
12 years ago

  • Milestone Awaiting Review3.9

#3 @SergeyBiryukov
12 years ago

  • Owner set to SergeyBiryukov
  • Resolutionfixed
  • Status newclosed

In 27358:

Restore $content_width global value after changing it in test_constrain_size_for_editor_*().

props ericlewis, georgestephanis, salcode, jorbin.
fixes #27256.

Note: See TracTickets for help on using tickets.