Mercurial > hg > nginx-tests
comparison ssl_certificate.t @ 1535:144c6ce732e4
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 02 Dec 2019 14:56:37 +0300 |
parents | dbce8fb5f5f8 |
children | 1b4ceab9cb1c |
comparison
equal
deleted
inserted
replaced
1534:96fb3513345b | 1535:144c6ce732e4 |
---|---|
161 } | 161 } |
162 | 162 |
163 $t->write_file('password_file', 'pass'); | 163 $t->write_file('password_file', 'pass'); |
164 $t->write_file('index.html', ''); | 164 $t->write_file('index.html', ''); |
165 | 165 |
166 $t->try_run('no ssl_certificate variables')->plan(11); | 166 $t->run()->plan(11); |
167 | 167 |
168 ############################################################################### | 168 ############################################################################### |
169 | 169 |
170 like(cert('default', 8080), qr/CN=one/, 'default certificate'); | 170 like(cert('default', 8080), qr/CN=one/, 'default certificate'); |
171 like(get('default', 8080), qr/default/, 'default context'); | 171 like(get('default', 8080), qr/default/, 'default context'); |