public function FileTaxonomyTermTestCase::testTermFilePrivate in Drupal 7
Tests that a private 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 319 - Tests for file.module.
Class
- FileTaxonomyTermTestCase
- Tests adding a file to a non-node entity.
Code
public function testTermFilePrivate() {
$this
->_testTermFile('private');
}