]> err.no Git - varnish/commitdiff
Use assert_xid() in testPassPOST().
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 13 Aug 2007 18:37:15 +0000 (18:37 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 13 Aug 2007 18:37:15 +0000 (18:37 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1842 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-tools/regress/lib/Varnish/Test/Case/POST.pm

index 5a77608bf4cf43d937cb0f3fc7fb3daf9f676ec3..63964986de5435a6c2de4854afc4b7c445f9a2a6 100644 (file)
@@ -68,6 +68,7 @@ sub testPassPOST($) {
     my $client = $self->new_client;
     $self->post($client, "/pass_me", [], $MAGIC_WORDS);
     $self->assert_ok();
+    $self->assert_xid();
     $self->assert_body(qr/\Q$MAGIC_WORDS\E/);
 
     return 'OK';
@@ -79,6 +80,7 @@ sub testPipePOST($) {
     my $client = $self->new_client;
     $self->post($client, "/pipe_me", [], $MAGIC_WORDS);
     $self->assert_ok();
+    $self->assert_no_xid();
     $self->assert_body(qr/\Q$MAGIC_WORDS\E/);
 
     return 'OK';