You are here

function FileFieldPathsTestCase::checkNodeBody in File (Field) Paths 6

Same name and namespace in other branches
  1. 6.2 tests/filefield_paths.test \FileFieldPathsTestCase::checkNodeBody()
2 calls to FileFieldPathsTestCase::checkNodeBody()
FileFieldPathsUploadTestCase::testUploadFile in tests/filefield_paths.test
Test file upload.
filefield_paths.test in tests/filefield_paths.test
This file implements tests for FileField Paths.

File

tests/filefield_paths.test, line 80
This file implements tests for FileField Paths.

Class

FileFieldPathsTestCase
@file This file implements tests for FileField Paths.

Code

function checkNodeBody($file, $retroactive = FALSE) {
  $this
    ->assertPattern('|' . $file['filepath'] . '|', t('Make sure filepath in Node Body has been processed.'), 'FileField Paths');
}