Permalink
Browse files

removed test that checks for bad submit that we cannot check for

  • Loading branch information...
1 parent 0926b85 commit 8277086e34acd7acc20eac2c195ba8f277540167 @petdance committed May 31, 2012
Showing with 1 addition and 14 deletions.
  1. +1 −14 t/submit_form_ok.t
View
@@ -2,7 +2,7 @@
use strict;
use warnings;
-use Test::More tests => 5;
+use Test::More tests => 3;
use Test::Builder::Tester;
use Test::WWW::Mechanize ();
@@ -22,19 +22,6 @@ SUBMIT_GOOD_FORM: {
$mech->submit_form_ok( {form_number =>1}, 'Submit First Form' );
}
-SUBMIT_BAD_FORM: {
- my $mech = Test::WWW::Mechanize->new();
- isa_ok( $mech,'Test::WWW::Mechanize' );
-
- $mech->get_ok( "$server_root/form.html" );
-
- test_out( 'not ok 2 - Submit 14th form' );
- test_fail( +2 );
- my $ok = $mech->submit_form_ok( {form_number => 14}, 'Submit 14th (and thus non-existent) form' );
- test_test( 'Get the correct line reference back' );
- is( !$ok, 'And the results should be false' );
-}
-
$server->stop;
done_testing();

0 comments on commit 8277086

Please sign in to comment.