Skip to content

Commit

Permalink
Fix page delete test after restricting actions to existing pages
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusramberg committed Sep 5, 2011
1 parent b9ec7ac commit ed27232
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/c/page_delete.t
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ BEGIN
eval "use WWW::Mechanize::TreeBuilder"; eval "use WWW::Mechanize::TreeBuilder";
plan skip_all => 'need WWW::Mechanize::TreeBuilder' if $@; plan skip_all => 'need WWW::Mechanize::TreeBuilder' if $@;


plan tests => 32; plan tests => 31;
} }
use_ok('MojoMojo::Controller::Page'); use_ok('MojoMojo::Controller::Page');


Expand Down Expand Up @@ -106,7 +106,7 @@ ok $mech->click_button(value => 'Yes'), 'click the "Yes" button';


#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
# Search for deleted page # Search for deleted page
$mech->submit_form_ok( $mech->post( '/.search',
{ {
form_number => 1, form_number => 1,
fields => { q => $random } fields => { q => $random }
Expand Down

0 comments on commit ed27232

Please sign in to comment.