change namespace and cleanup code

This commit is contained in:
envoyr committed 2022-05-14 18:21:55 +02:00
1 parent 76edd961b7
commit 377dc53037
46 files changed
+400 -360

No files matched your search

@@ -0,0 +1,26 @@
<?php
declare(strict_types=1);
namespace Bitinflow\Accounts\Tests;
use Bitinflow\Accounts\BitinflowAccounts;
use Bitinflow\Accounts\Facades\BitinflowAccounts as BitinflowAccountsFacade;
use Bitinflow\Accounts\Tests\TestCases\TestCase;
/**
* @author René Preuß <rene@preuss.io>
*/
class ServiceInstantiationTest extends TestCase
{
public function testInstance(): void
{
$this->assertInstanceOf(BitinflowAccounts::class, app(BitinflowAccounts::class));
}
public function testFacade(): void
{
$this->assertInstanceOf(BitinflowAccounts::class, BitinflowAccountsFacade::getFacadeRoot());
}
}