ConfigurationHelperTest.php 546 B

1234567891011121314151617181920212223242526
  1. <?php
  2. require_once 'vfsStream/vfsStream.php';
  3. use Chash\Helpers\ConfigurationHelper;
  4. /**
  5. * Class ConfigurationHelper
  6. * @package Chash\Helpers
  7. */
  8. class ConfigurationHelperTest extends PHPUnit_Framework_TestCase
  9. {
  10. public function setUp()
  11. {
  12. vfsStreamWrapper::register();
  13. vfsStreamWrapper::setRoot(new vfsStreamDirectory('chamilo'));
  14. }
  15. public function testGetConfigurationPath()
  16. {
  17. $configHelper = new ConfigurationHelper();
  18. $configHelper->getConfigurationPath('/var/www/chamilo');
  19. }
  20. }