Changeset 49117 for trunk/tests/phpunit/tests/shortcode.php
- Timestamp:
- 10/10/2020 01:37:18 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/shortcode.php
r48937 r49117 214 214 215 215 function test_positional_atts_url() { 216 $out = do_shortcode( '[test-shortcode-tag http ://www.youtube.com/watch?v=eBGIQ7ZuuiU]' );216 $out = do_shortcode( '[test-shortcode-tag https://www.youtube.com/watch?v=72xdCU__XCk]' ); 217 217 $this->assertSame( '', $out ); 218 $this->assertSame( array( 0 => 'http ://www.youtube.com/watch?v=eBGIQ7ZuuiU' ), $this->atts );218 $this->assertSame( array( 0 => 'https://www.youtube.com/watch?v=72xdCU__XCk' ), $this->atts ); 219 219 $this->assertSame( 'test-shortcode-tag', $this->tagname ); 220 220 }
Note: See TracChangeset
for help on using the changeset viewer.