public function FileTaxonomyTermTestCase::testTermFilePublic in Drupal 7
Tests that a public file can be attached to a taxonomy term.
This is a regression test for https://www.drupal.org/node/2305017.
File
- modules/
file/ tests/ file.test, line 310 - Tests for file.module.
Class
- FileTaxonomyTermTestCase
- Tests adding a file to a non-node entity.
Code
public function testTermFilePublic() {
$this
->_testTermFile('public');
}