# HG changeset patch # User Sergey Kandaurov # Date 1372671749 -14400 # Node ID 07c600de2f90142da860ac8d2e440c306ea4ae8f # Parent a107552ac714aa88f401146c301e03f4651ee260 Tests: added missing rewrite prerequisites. diff --git a/gunzip.t b/gunzip.t --- a/gunzip.t +++ b/gunzip.t @@ -24,7 +24,8 @@ select STDOUT; $| = 1; eval { require IO::Compress::Gzip; }; Test::More::plan(skip_all => "IO::Compress::Gzip not found") if $@; -my $t = Test::Nginx->new()->has(qw/http gunzip proxy gzip_static/)->plan(13); +my $t = Test::Nginx->new()->has(qw/http gunzip proxy gzip_static rewrite/) + ->plan(13); $t->write_file_expand('nginx.conf', <<'EOF'); diff --git a/secure_link.t b/secure_link.t --- a/secure_link.t +++ b/secure_link.t @@ -24,7 +24,7 @@ use Test::Nginx; select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new()->has(qw/http secure_link/)->plan(9); +my $t = Test::Nginx->new()->has(qw/http secure_link rewrite/)->plan(9); $t->write_file_expand('nginx.conf', <<'EOF'); diff --git a/upstream_ip_hash.t b/upstream_ip_hash.t --- a/upstream_ip_hash.t +++ b/upstream_ip_hash.t @@ -23,7 +23,7 @@ use Test::Nginx; select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new()->has(qw/http proxy upstream_ip_hash realip/) +my $t = Test::Nginx->new()->has(qw/http proxy upstream_ip_hash realip rewrite/) ->write_file_expand('nginx.conf', <<'EOF')->run(); %%TEST_GLOBALS%%