* initial commit
This commit is contained in:
17
test/AppTest/ConfigProviderTest.php
Normal file
17
test/AppTest/ConfigProviderTest.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace AppTest;
|
||||
|
||||
use App\ConfigProvider;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class ConfigProviderTest extends TestCase
|
||||
{
|
||||
public function testFactory()
|
||||
{
|
||||
$factory = new ConfigProvider();
|
||||
$configProvided = $factory();
|
||||
$this->assertArrayHasKey('dependencies', $configProvided);
|
||||
$this->assertArrayHasKey('templates', $configProvided);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user