Skip to content

Commit

Permalink
Add XML header to fake SVG file
Browse files Browse the repository at this point in the history
  • Loading branch information
schlessera committed Dec 18, 2018
1 parent fe65ffc commit f2ba06a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions features/media-regenerate.feature
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,7 @@ Feature: Regenerate WordPress attachments
Scenario: Regenerating SVGs should be marked as skipped and not produce PHP notices
Given an svg.svg file:
"""
<?xml version="1.0" encoding="utf-8"?>
<svg xmlns="http://www.w3.org/2000/svg"/>
"""
And a wp-content/mu-plugins/media-settings.php file:
Expand Down

0 comments on commit f2ba06a

Please sign in to comment.