Skip to:
Content

BuddyPress.org

Changeset 10221


Ignore:
Timestamp:
10/08/2015 10:27:03 PM (4 years ago)
Author:
djpaul
Message:

Tests: tidy whitespace in media extractor tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/core/class-bp-media-extractor.php

    r9819 r10221  
    3636
    3737        Audio shortcodes:
    38         [audio src='http://example.com/source.mp3'] 
     38        [audio src='http://example.com/source.mp3']
    3939        [audio src='http://example.com/source.wav' loop='on' autoplay='off' preload='metadata'].
    4040
     
    175175
    176176    public function test_extract_no_links_from_content_with_invalid_links() {
    177         $richtext = "This is some sample text, with links, but not the kinds we want.       
     177        $richtext = "This is some sample text, with links, but not the kinds we want.
    178178        <a href=''>Empty links should be ignore<a/> and
    179179        <a href='phone:004400'>weird protocols should be ignored, too</a>.
     
    280280        $this->assertArrayHasKey( 'images', $media );
    281281        $media = array_values( wp_list_filter( $media['images'], array( 'source' => 'html' ) ) );
    282    
     282
    283283        $this->assertSame( 'http://example.com/image.gif',           $media[0]['url'] );
    284284        $this->assertSame( 'http://example.com/image-in-a-link.gif', $media[1]['url'] );
Note: See TracChangeset for help on using the changeset viewer.