From 65740d014b953905463c227ab3460443409121e8 Mon Sep 17 00:00:00 2001 From: po_taka Date: Wed, 23 Nov 2016 22:25:07 +0200 Subject: [PATCH] typo in vbox parser name --- .../UrlVideoParser/Vbox/{VboxPartser.php => VboxParser.php} | 2 +- test/phpUnit/Test/Vbox/VboxParserTest.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) rename src/Tekstove/UrlVideoParser/Vbox/{VboxPartser.php => VboxParser.php} (94%) diff --git a/src/Tekstove/UrlVideoParser/Vbox/VboxPartser.php b/src/Tekstove/UrlVideoParser/Vbox/VboxParser.php similarity index 94% rename from src/Tekstove/UrlVideoParser/Vbox/VboxPartser.php rename to src/Tekstove/UrlVideoParser/Vbox/VboxParser.php index 30be672..c9d7f5c 100644 --- a/src/Tekstove/UrlVideoParser/Vbox/VboxPartser.php +++ b/src/Tekstove/UrlVideoParser/Vbox/VboxParser.php @@ -10,7 +10,7 @@ * * @author po_taka */ -class VboxPartser implements ParserInterface +class VboxParser implements ParserInterface { private $validVideoIdRegExp = '[a-zA-Z0-9]+'; diff --git a/test/phpUnit/Test/Vbox/VboxParserTest.php b/test/phpUnit/Test/Vbox/VboxParserTest.php index 1a2b1c4..aebaeb2 100644 --- a/test/phpUnit/Test/Vbox/VboxParserTest.php +++ b/test/phpUnit/Test/Vbox/VboxParserTest.php @@ -1,7 +1,7 @@ assertSame('676723260d', $parser->getId('https://www.vbox7.com/play:676723260d?pos=pop')); @@ -25,7 +25,7 @@ public function testParse() public function testFailure() { $this->expectException(VboxException::class); - $parser = new VboxPartser(); + $parser = new VboxParser(); $parser->getId("There is no video url here"); } }