public function FeedsFetcherResultTest::testConstructFilePath in Feeds 7.2
@covers FeedsFetcherResult::constructFilePath().
File
- tests/
FeedsFetcherResultTest.test, line 118
Class
- FeedsFetcherResultTest
- @coversDefaultClass FeedsFetcherResult @group feeds
Code
public function testConstructFilePath() {
$file_path = $this->fetcherResult
->getFeedsInProgressDir();
// Assert that the file path starts with the in progress dir.
$this
->assertTrue(strpos($file_path, static::FEEDS_IN_PROGRESS_DIR) === 0, format_string('The file path starts with @path.', array(
'@path' => static::FEEDS_IN_PROGRESS_DIR,
)));
}