function FileDirectoryTest::testFileDirectoryPath in SimpleTest 7
Check file_directory_path('public').
File
- tests/
file.test, line 736 - This provides SimpleTests for the core file handling functionality. These include FileValidateTest and FileSaveTest.
Class
- FileDirectoryTest
- Directory related tests.
Code
function testFileDirectoryPath() {
// Directory path.
$path = variable_get('file_public_path', '');
$this
->assertEqual($path, file_directory_path('public'), t('Properly returns the stored file directory path.'), 'File');
}