remove more partials stuff

This commit is contained in:
John Bintz 2009-11-07 11:40:25 -05:00
parent 365d85de7b
commit b3192c3bbb
2 changed files with 4 additions and 19 deletions

View File

@ -378,6 +378,10 @@ class ComicPressAdmin {
} }
} }
/**
* Update the zoom slider info.
* @param $info The browser input.
*/
function handle_update_zoom_slider($info) { function handle_update_zoom_slider($info) {
$this->is_ajax = true; $this->is_ajax = true;

View File

@ -260,25 +260,6 @@ class ComicPressAdminTest extends PHPUnit_Framework_TestCase {
), ),
); );
} }
/**
* @dataProvider providerTestHandleUpdateOverridePartial
*/
function testHandleUpdateOverridePartial($code, $action) {
$this->admin->comicpress = (object)array(
'comicpress_options' => array(
'override_partials' => array(
'index' => '$hiss;'
)
)
);
$this->admin->handle_update_override_partial(array_merge(compact('code', 'action'), array('partial' => 'index')));
if ($action == "Update partial") {
$this->assertEquals($code, $this->admin->comicpress->comicpress_options['override_partials']['index']);
}
}
} }
?> ?>