function FileTaxonomyTermTestCase::testTermFilePrivate
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
Class
- FileTaxonomyTermTestCase
- Tests adding a file to a non-node entity.
Code
public function testTermFilePrivate() {
$this->_testTermFile('private');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.