From 99ab15273afe6b38da41a90b6d8534c83d1dd9d8 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Wed, 1 Jul 2009 21:08:53 -0400 Subject: [PATCH] fix rebuild database form --- test/ViewMainTest.php | 3 ++- views/PluginWonderfulViewMain/instructions.inc | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/ViewMainTest.php b/test/ViewMainTest.php index 9bf9411..d3a75e2 100644 --- a/test/ViewMainTest.php +++ b/test/ViewMainTest.php @@ -183,7 +183,8 @@ class ViewMainTest extends PHPUnit_Framework_TestCase { '//tt[contains(text(), "the_project_wonderful_ad(123)")]' => true, '//tt[contains(text(), "PW(123)")]' => true, '//tt[contains(text(), "PW\(123\)")]' => true, - '//form[@id="allow-destroy-handler"]/input[@name="_pw_nonce" and @value="345"]' => true + '//form[@id="allow-destroy-handler"]/input[@name="_pw_nonce" and @value="345"]' => true, + '//form[@id="allow-destroy-handler"]/input[@name="_pw_action" and @value="rebuild-database"]' => true ) as $xpath => $value) { $this->assertTrue(_xpath_test($xml, $xpath, $value), $xpath); } diff --git a/views/PluginWonderfulViewMain/instructions.inc b/views/PluginWonderfulViewMain/instructions.inc index 180168e..e88ceb0 100644 --- a/views/PluginWonderfulViewMain/instructions.inc +++ b/views/PluginWonderfulViewMain/instructions.inc @@ -37,7 +37,7 @@
- +