From: des Date: Mon, 13 Aug 2007 18:37:15 +0000 (+0000) Subject: Use assert_xid() in testPassPOST(). X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fabe60d30e401346ed777a55bd6f9bbbd34cb49b;p=varnish Use assert_xid() in testPassPOST(). git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1842 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-tools/regress/lib/Varnish/Test/Case/POST.pm b/varnish-tools/regress/lib/Varnish/Test/Case/POST.pm index 5a77608b..63964986 100644 --- a/varnish-tools/regress/lib/Varnish/Test/Case/POST.pm +++ b/varnish-tools/regress/lib/Varnish/Test/Case/POST.pm @@ -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';