Mercurial > hg > ngx_http_auth_request_module
comparison t/auth-request.t @ 6:70f3d876b569
Auth request: use test globals.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 18 Mar 2010 15:49:04 +0300 |
parents | 35f0ee7a3c28 |
children | 2b95417a1715 |
comparison
equal
deleted
inserted
replaced
5:cc231fa95159 | 6:70f3d876b569 |
---|---|
21 | 21 |
22 my $t = Test::Nginx->new()->has(qw/http rewrite proxy fastcgi auth_basic/) | 22 my $t = Test::Nginx->new()->has(qw/http rewrite proxy fastcgi auth_basic/) |
23 ->plan(17); | 23 ->plan(17); |
24 | 24 |
25 $t->write_file_expand('nginx.conf', <<'EOF'); | 25 $t->write_file_expand('nginx.conf', <<'EOF'); |
26 | |
27 %%TEST_GLOBALS%% | |
26 | 28 |
27 master_process off; | 29 master_process off; |
28 daemon off; | 30 daemon off; |
29 | 31 |
30 events { | 32 events { |