Skip to content

Commit 9527dce

Browse files
committed
Remove duplicate tests
Added in #84
1 parent 9bcd82a commit 9527dce

2 files changed

Lines changed: 7 additions & 371 deletions

File tree

‎features/add-oembed-provider.feature‎

Lines changed: 0 additions & 371 deletions
This file was deleted.

‎features/provider.feature‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,13 @@ Feature: Manage oEmbed providers.
331331
audio.com/
332332
"""
333333

334+
Scenario: Match custom oEmbed provider after registration
335+
When I run `wp embed provider match http://example.com/foo --require=filter-providers.php`
336+
Then STDOUT should be:
337+
"""
338+
http://example.com/api/oembed.json
339+
"""
340+
334341
Scenario: Incompatible or wrong options
335342
When I try `wp embed provider match https://www.example.com/watch?v=dQw4w9WgXcQ --no-discover --limit-response-size=50000`
336343
Then the return code should be 1

0 commit comments

Comments
 (0)