Mercurial > hg > nginx-tests
comparison userid_flags.t @ 1693:5ac6efbe5552
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 01 Jun 2021 16:40:18 +0300 |
parents | f42d82b114cd |
children |
comparison
equal
deleted
inserted
replaced
1692:f6795e2e6a4b | 1693:5ac6efbe5552 |
---|---|
68 EOF | 68 EOF |
69 | 69 |
70 $t->write_file('index.html', ''); | 70 $t->write_file('index.html', ''); |
71 $t->write_file('lax', ''); | 71 $t->write_file('lax', ''); |
72 $t->write_file('many', ''); | 72 $t->write_file('many', ''); |
73 $t->try_run('no userid_flags')->plan(5); | 73 $t->run()->plan(5); |
74 | 74 |
75 ############################################################################### | 75 ############################################################################### |
76 | 76 |
77 like(http_get('/'), qr/samesite=strict/i, 'strict'); | 77 like(http_get('/'), qr/samesite=strict/i, 'strict'); |
78 like(http_get('/lax'), qr/samesite=lax/i, 'lax'); | 78 like(http_get('/lax'), qr/samesite=lax/i, 'lax'); |