Initial commit with tests, and stuff.

This commit is contained in:
2018-06-08 13:02:36 +03:00
commit e8fdb5109d
18 changed files with 1181 additions and 0 deletions

View 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']
);
}
}