Skip to content

Commit

Permalink
Replace usage of via.placeholder.com (#183)
Browse files Browse the repository at this point in the history
* Replace usage of `via.placeholder.com`

* Use different URL format
  • Loading branch information
swissspidy authored Aug 30, 2023
1 parent aa6d3f6 commit 3d167f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions features/media-import.feature
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ Feature: Manage WordPress attachments
"""

Scenario: Import media from remote URL with query string
When I run `wp media import 'http://via.placeholder.com/350x150.jpg?text=Foo'`
When I run `wp media import 'https://dummyimage.com/350x150.jpg?text=Foo'`
Then STDOUT should contain:
"""
Imported file 'http://via.placeholder.com/350x150.jpg?text=Foo' as attachment ID
Imported file 'https://dummyimage.com/350x150.jpg?text=Foo' as attachment ID
"""
And STDOUT should contain:
"""
Expand Down Expand Up @@ -268,4 +268,4 @@ Feature: Manage WordPress attachments
Then STDERR should be:
"""
Error: Invalid value for <porcelain>: invalid. Expected flag or 'url'.
"""
"""

0 comments on commit 3d167f4

Please sign in to comment.