You are here

public function MultifieldFileUsageTestCase::assertNoFileUsage in Multifield 7

1 call to MultifieldFileUsageTestCase::assertNoFileUsage()
MultifieldFileUsageTestCase::testFileUsage in tests/MultifieldFileUsageTestCase.test

File

tests/MultifieldFileUsageTestCase.test, line 143

Class

MultifieldFileUsageTestCase

Code

public function assertNoFileUsage($file) {
  $usage = file_usage_list($file);
  return $this
    ->assertFalse($usage, "No file usage for fid {$file->fid}.");
}