Skip to content

Commit

Permalink
typo in vbox parser name
Browse files Browse the repository at this point in the history
  • Loading branch information
angelk committed Nov 23, 2016
1 parent 82e1a42 commit 65740d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @author po_taka <[email protected]>
*/
class VboxPartser implements ParserInterface
class VboxParser implements ParserInterface
{
private $validVideoIdRegExp = '[a-zA-Z0-9]+';

Expand Down
6 changes: 3 additions & 3 deletions test/phpUnit/Test/Vbox/VboxParserTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

use PHPUnit\Framework\TestCase;
use Tekstove\UrlVideoParser\Vbox\VboxPartser;
use Tekstove\UrlVideoParser\Vbox\VboxParser;
use Tekstove\UrlVideoParser\Vbox\VboxException;

/**
Expand All @@ -11,7 +11,7 @@ class VboxParserTest extends TestCase
{
public function testParse()
{
$parser = new VboxPartser();
$parser = new VboxParser();

// play:
$this->assertSame('676723260d', $parser->getId('https://www.vbox7.com/play:676723260d?pos=pop'));
Expand All @@ -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");
}
}

0 comments on commit 65740d0

Please sign in to comment.