ConfigurationHelperTest.php 618 B

123456789101112131415161718192021222324252627
  1. <?php
  2. //require_once __DIR__.'/../../../../vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/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. /*
  13. vfsStreamWrapper::register();
  14. vfsStreamWrapper::setRoot(new vfsStreamDirectory('chamilo'));
  15. */
  16. }
  17. public function testGetConfigurationPath()
  18. {
  19. $configHelper = new ConfigurationHelper();
  20. $configHelper->getConfigurationPath('/var/www/chamilo');
  21. }
  22. }