Skip to content

Commit

Permalink
nit: Fix bandcamp test id
Browse files Browse the repository at this point in the history
  • Loading branch information
octfx committed Nov 9, 2023
1 parent fb7115d commit 0568284
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion includes/EmbedVideo.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@

use Config;
use ConfigException;
use Html;
use InvalidArgumentException;
use MediaWiki\Extension\EmbedVideo\EmbedService\AbstractEmbedService;
use MediaWiki\Extension\EmbedVideo\EmbedService\EmbedHtmlFormatter;
use MediaWiki\Extension\EmbedVideo\EmbedService\EmbedServiceFactory;
use MediaWiki\Extension\EmbedVideo\EmbedService\OEmbedServiceInterface;
use MediaWiki\Html\Html;
use MediaWiki\MediaWikiServices;
use Parser;
use PPFrame;
Expand Down
4 changes: 2 additions & 2 deletions tests/phpunit/EmbedService/BandcampTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class BandcampTest extends MediaWikiIntegrationTestCase {
* A valid ID
* @var string
*/
private string $validId = '826968881';
private string $validId = '1003592798';

/**
* An invalid id
Expand All @@ -40,7 +40,7 @@ class BandcampTest extends MediaWikiIntegrationTestCase {
* An invalid url
* @var string
*/
private string $invalidUrlId = 'https://bandcamp.com/EmbeddedPlayer/song=1003592798/';
private string $invalidUrlId = 'https://bandcamp.com/EmbeddedPlayer/song=Foo/';

/**
* @covers \MediaWiki\Extension\EmbedVideo\EmbedService\AbstractEmbedService::parseVideoID
Expand Down

0 comments on commit 0568284

Please sign in to comment.