coverage
This commit is contained in:
parent
d4f6b7d319
commit
3d9b1033c5
|
@ -50,7 +50,9 @@ class ComicPressBackendURL extends ComicPressBackend {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// @codeCoverageIgnoreStart
|
||||||
function dims($size = null) { return false; }
|
function dims($size = null) { return false; }
|
||||||
|
// @codeCoverageIgnoreEnd
|
||||||
}
|
}
|
||||||
|
|
||||||
class ComicPressBackendURLFactory {
|
class ComicPressBackendURLFactory {
|
||||||
|
@ -106,6 +108,7 @@ class ComicPressBackendURLFactory {
|
||||||
}
|
}
|
||||||
|
|
||||||
class ComicPressBackendURLAdmin {
|
class ComicPressBackendURLAdmin {
|
||||||
|
// @codeCoverageIgnoreStart
|
||||||
function post_meta_box($post) {
|
function post_meta_box($post) {
|
||||||
$factory = new ComicPressBackendUrlFactory();
|
$factory = new ComicPressBackendUrlFactory();
|
||||||
$backends = $factory->generate_from_post($post);
|
$backends = $factory->generate_from_post($post);
|
||||||
|
@ -141,6 +144,7 @@ class ComicPressBackendURLAdmin {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// @codeCoverageIgnoreEnd
|
||||||
}
|
}
|
||||||
|
|
||||||
add_action('admin_menu', array('ComicPressBackendURLAdmin', 'admin_menu'));
|
add_action('admin_menu', array('ComicPressBackendURLAdmin', 'admin_menu'));
|
||||||
|
|
Loading…
Reference in New Issue