Skip to content

Commit

Permalink
fix: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Gemorroj committed Aug 17, 2023
1 parent 9a0ea44 commit 61a3b84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Tag/TagAbstractTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Xbbcode\Tests\Tag;

use PHPUnit\Framework\TestCase;
use Xbbcode\Tag\TagAbstract;
use Xbbcode\Tag\Tag;

class TagAbstractTest extends TestCase
{
Expand All @@ -12,7 +12,7 @@ public function testTarget(): void
$validTargets = ['_blank', '_self', '_parent', '_top', 'any_anchor', '123'];
$invalidTargets = ['_fake', '_123'];

$mock = $this->getMockForAbstractClass(TagAbstract::class);
$mock = $this->getMockForAbstractClass(Tag::class);
$method = new \ReflectionMethod($mock, 'isValidTarget');
$method->setAccessible(true);

Expand Down

0 comments on commit 61a3b84

Please sign in to comment.