Skip to content

Commit

Permalink
Merge pull request #98 from wp-cli/97-fix-svg-regeneration-test
Browse files Browse the repository at this point in the history
Fix SVG regeneration test by adding an XML header to fake SVG file
  • Loading branch information
danielbachhuber authored Dec 18, 2018
2 parents fe65ffc + f2ba06a commit b69c2b2
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 b69c2b2

Please sign in to comment.