code coverage
This commit is contained in:
parent
7ba5fc8ba9
commit
22b95c91c3
@ -247,9 +247,11 @@ class ComicPressStoryline {
|
||||
return $this->_merge_simple_storyline($simple_storyline);
|
||||
}
|
||||
|
||||
// @codeCoverageIgnoreStart
|
||||
function get_comicpress_dbi() {
|
||||
return ComicPressDBInterface::get_instance();
|
||||
}
|
||||
// @codeCoverageIgnoreEnd
|
||||
|
||||
/**
|
||||
* Get a simple structure.
|
||||
|
@ -336,6 +336,8 @@ class ComicPressStorylineTest extends PHPUnit_Framework_TestCase {
|
||||
$this->assertEquals($expected_result, $css->get_category_simple_structure($parent));
|
||||
|
||||
$this->assertEquals($expected_result, wp_cache_get($expected_cache_key, 'comicpress'));
|
||||
|
||||
$this->assertEquals($expected_result, $css->get_category_simple_structure($parent));
|
||||
}
|
||||
|
||||
function providerTestGenerateCacheKey() {
|
||||
|
Loading…
Reference in New Issue
Block a user