Mercurial > hg > nginx-tests
comparison proxy_method.t @ 1075:5513b68493e7
Tests: added rewrite prerequisite in proxy_method.t.
author | Andrey Zelenkov <zelenkov@nginx.com> |
---|---|
date | Mon, 31 Oct 2016 15:21:31 +0300 |
parents | 1dd57525de8b |
children | 4240cca68d1d |
comparison
equal
deleted
inserted
replaced
1074:a2b6997b4d48 | 1075:5513b68493e7 |
---|---|
19 ############################################################################### | 19 ############################################################################### |
20 | 20 |
21 select STDERR; $| = 1; | 21 select STDERR; $| = 1; |
22 select STDOUT; $| = 1; | 22 select STDOUT; $| = 1; |
23 | 23 |
24 my $t = Test::Nginx->new()->has(qw/http proxy/)->plan(4) | 24 my $t = Test::Nginx->new()->has(qw/http proxy rewrite/)->plan(4) |
25 ->write_file_expand('nginx.conf', <<'EOF'); | 25 ->write_file_expand('nginx.conf', <<'EOF'); |
26 | 26 |
27 %%TEST_GLOBALS%% | 27 %%TEST_GLOBALS%% |
28 | 28 |
29 daemon off; | 29 daemon off; |