mirror of
https://github.com/archtechx/gloss.git
synced 2025-12-12 03:04:04 +00:00
Initial commit
This commit is contained in:
commit
f73d6e2dce
14 changed files with 838 additions and 0 deletions
23
tests/TestCase.php
Normal file
23
tests/TestCase.php
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
|
||||
namespace Lean\Gloss\Tests;
|
||||
|
||||
use Lean\Gloss\Gloss;
|
||||
use Lean\Gloss\GlossServiceProvider;
|
||||
|
||||
class TestCase extends \Orchestra\Testbench\TestCase
|
||||
{
|
||||
public function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->app->bind('translation.loader', GlossLoader::class);
|
||||
}
|
||||
|
||||
protected function getPackageProviders($app)
|
||||
{
|
||||
return [
|
||||
GlossServiceProvider::class,
|
||||
];
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue