switched that in all places used (class loads mostly) moved all includes at the beginning of index into bootstrap moves *_PATH defines from config to bootstrap config now uses defaults first, then user config
16 lines
362 B
PHP
16 lines
362 B
PHP
<?php
|
|
|
|
// these are ONLY here because we're checking config options
|
|
// these should NOT be in a normal unit test
|
|
|
|
class TestDistConfig extends PHPUnit_Framework_Testcase {
|
|
/**
|
|
* Test to make sure SALT is sane
|
|
*/
|
|
function testSaltLength() {
|
|
$this->assertNotEmpty($config['SALT']);
|
|
$this->assertGreaterThan(1, strlen($config['SALTY']));
|
|
}
|
|
}
|
|
|
|
?>
|