suyuan/vendor/clagiordano/weblibs-configmanager/tests/ArrayConfigManagerTest.php

25 lines
688 B
PHP
Raw Permalink Normal View History

2023-11-21 11:51:27 +08:00
<?php
namespace clagiordano\weblibs\configmanager\tests;
use clagiordano\weblibs\configmanager\ArrayConfigManager;
/**
* Class ArrayConfigManagerTest
* @package clagiordano\weblibs\configmanager\tests
*/
class ArrayConfigManagerTest extends AbstractConfigManagerTest
{
protected $configFile = 'testsdata/sample_config_data.php';
public function setUp()
{
parent::setUp();
$this->config = new ArrayConfigManager("TestConfigData.php");
$this->assertInstanceOf('clagiordano\weblibs\configmanager\ArrayConfigManager', $this->config);
$this->assertFileExists($this->configFile);
$this->config->loadConfig($this->configFile);
}
}