public function MultifieldFileUsageTestCase::assertNoFileUsage in Multifield 7
1 call to MultifieldFileUsageTestCase::assertNoFileUsage()
File
- tests/
MultifieldFileUsageTestCase.test, line 143
Class
Code
public function assertNoFileUsage($file) {
$usage = file_usage_list($file);
return $this
->assertFalse($usage, "No file usage for fid {$file->fid}.");
}