protected function FeedsUnitTestCase::defineConstants in Feeds 8.3
Defines stub constants.
1 call to FeedsUnitTestCase::defineConstants()
- FeedsUnitTestCase::setUp in tests/
src/ Unit/ FeedsUnitTestCase.php
File
- tests/
src/ Unit/ FeedsUnitTestCase.php, line 77
Class
- FeedsUnitTestCase
- Base class for Feeds unit tests.
Namespace
Drupal\Tests\feeds\UnitCode
protected function defineConstants() {
if (!defined('FILE_STATUS_PERMANENT')) {
define('FILE_STATUS_PERMANENT', 1);
}
}