fix code coverage issue

This commit is contained in:
John Bintz 2009-11-24 19:34:19 -05:00
parent b33093ac13
commit bec05cc7f9
1 changed files with 2 additions and 0 deletions

View File

@ -98,6 +98,8 @@ class ComicPressBackendFilesystemTest extends PHPUnit_Framework_TestCase {
'rss' => array()
);
$comicpress->comicpress_options['backend_options']['filesystem']['search_pattern'] = 'test';
$fs = $this->getMock('ComicPressBackendFilesystem', array('process_search_string', 'find_matching_files'));
$fs->expects($this->at(0))->method('process_search_string')->with($post, 'comic')->will($this->returnValue(array('comic')));