Make WordPress Core


Ignore:
Timestamp:
10/10/2020 01:37:18 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Tests: Update third-party video URLs in unit tests with more permanent videos.

This brings some consistency to the YouTube and Vimeo URLs used for tests:

  • For YouTube, use the video of WordPress 5.0 release.
  • For Vimeo, use one of the official test videos.

Props garrett-eclipse, dd32.
Fixes #51487. See #meta5467.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/widgets/media-video-widget.php

    r48939 r49117  
    287287                'attachment_id' => null,
    288288                'loop'          => false,
    289                 'url'           => 'https://www.youtube.com/watch?v=OQSNhk5ICTI',
     289                'url'           => 'https://www.youtube.com/watch?v=72xdCU__XCk',
    290290                'content'       => $content,
    291291            )
     
    295295        // Custom attributes.
    296296        $this->assertContains( 'preload="metadata"', $output );
    297         $this->assertContains( 'src="https://www.youtube.com/watch?v=OQSNhk5ICTI', $output );
     297        $this->assertContains( 'src="https://www.youtube.com/watch?v=72xdCU__XCk', $output );
    298298        $this->assertContains( $content, $output );
    299299    }
Note: See TracChangeset for help on using the changeset viewer.