From 05ce3cdb6c43f7f9b550c9aaa899e6ff3b2b3d9d Mon Sep 17 00:00:00 2001 From: John Bintz Date: Sun, 28 Jun 2009 21:53:13 -0400 Subject: [PATCH] remove unnecessary test --- test/PluginWonderfulTest.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/test/PluginWonderfulTest.php b/test/PluginWonderfulTest.php index ea2445c..e383e31 100644 --- a/test/PluginWonderfulTest.php +++ b/test/PluginWonderfulTest.php @@ -15,15 +15,6 @@ class PluginWonderfulTest extends PHPUnit_Framework_TestCase { _reset_wp(); } - function testSaveWidgetsIsCalled() { - _set_valid_nonce("plugin-wonderful", "12345"); - $_POST['pw']['_nonce'] = "12345"; - - $pw = $this->getMock('PluginWonderful', array('handle_action_save_widgets')); - $pw->expects($this->once())->method("handle_action_save_widgets"); - $pw->handle_action(); - } - function testHandleActivation() { $pw = $this->getMock('PluginWonderful', array('init')); $pw->adboxes_client = $this->getMock('PWAdboxesClient', array('initialize'));