mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
26 lines
724 B
PHP
26 lines
724 B
PHP
<?php
|
|
|
|
namespace JoeDixon\Translation\Tests;
|
|
|
|
use JoeDixon\Translation\TranslationBindingsServiceProvider;
|
|
use JoeDixon\Translation\TranslationServiceProvider;
|
|
use Orchestra\Testbench\TestCase;
|
|
|
|
class PackageIsLoadedTest extends TestCase
|
|
{
|
|
protected function getPackageProviders($app)
|
|
{
|
|
return [
|
|
TranslationServiceProvider::class,
|
|
TranslationBindingsServiceProvider::class,
|
|
];
|
|
}
|
|
|
|
/** @test */
|
|
public function the_translation_pacakage_is_loaded()
|
|
{
|
|
$this->assertArrayHasKey(TranslationServiceProvider::class, app()->getLoadedProviders());
|
|
$this->assertArrayHasKey(TranslationBindingsServiceProvider::class, app()->getLoadedProviders());
|
|
}
|
|
}
|