# HG changeset patch # User Sergey Kandaurov # Date 1439454893 -10800 # Node ID 02bb93aebaa53acc1b1e7e3be4bdf1fccf63d656 # Parent 555e718a70a5633a3c81c173a092f816998ff12d Tests: minor cleanup, no functional changes. diff --git a/proxy_ssl_certificate.t b/proxy_ssl_certificate.t --- a/proxy_ssl_certificate.t +++ b/proxy_ssl_certificate.t @@ -3,7 +3,7 @@ # (C) Sergey Kandaurov # (C) Nginx, Inc. -# Tests for proxy with proxy certificate to ssl backend. +# Tests for http proxy module with proxy certificate to ssl backend. # The proxy_ssl_certificate and proxy_ssl_password_file directives. ############################################################################### @@ -135,8 +135,6 @@ foreach my $name ('3.example.com') { ############################################################################### -my $cert; - like(http_get('/verify'), qr/X-Verify: SUCCESS/ms, 'verify certificate'); like(http_get('/fail'), qr/X-Verify: FAILED/ms, 'fail certificate'); like(http_get('/encrypted'), qr/X-Verify: SUCCESS/ms, 'with encrypted key');