mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-03-31 15:07:47 +01:00
test: update config tests
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
namespace Flasher\Tests\Prime\Config;
|
||||
|
||||
use Flasher\Prime\Config\Config;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Flasher\Tests\Prime\TestCase;
|
||||
|
||||
final class ConfigTest extends TestCase
|
||||
{
|
||||
@@ -59,6 +59,7 @@ final class ConfigTest extends TestCase
|
||||
'options' => array(),
|
||||
), $config->get('themes.flasher'));
|
||||
$this->assertEquals(array('styles.css'), $config->get('themes.flasher.styles'));
|
||||
$this->assertEquals(array('script.js'), $config->get('themes.flasher.scripts'));
|
||||
$this->assertEquals(array(), $config->get('themes.flasher.options'));
|
||||
$this->assertNull($config->get('drivers.not_exists.options'));
|
||||
$this->assertEquals('now_it_exists', $config->get('drivers.not_exists.options', 'now_it_exists'));
|
||||
|
||||
Reference in New Issue
Block a user