mirror of
https://github.com/ivuorinen/bbcodeparser.git
synced 2026-01-29 18:40:59 +00:00
Initial commit with tests, and stuff.
This commit is contained in:
20
tests/BBCodeParserServiceProviderTest.php
Normal file
20
tests/BBCodeParserServiceProviderTest.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
use ivuorinen\BBCode\BBCodeParserServiceProvider;
|
||||
|
||||
class BBCodeParserServiceProviderTest extends TestCase
|
||||
{
|
||||
public function testProvides()
|
||||
{
|
||||
$provider = new BBCodeParserServiceProvider($this->app);
|
||||
$this->assertEquals(['bbcode'], $provider->provides());
|
||||
}
|
||||
|
||||
public function testRegister()
|
||||
{
|
||||
$this->assertInstanceOf(
|
||||
\ivuorinen\BBCode\BBCodeParser::class,
|
||||
$this->app['bbcode']
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user