Mercurial > hg > nginx-tests
diff smtp.t @ 60:11e33ba0656a
Tests: check for 235 code on successful smtp auth.
For now, convert only check for auth login with username test since it's
already marked as TODO.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 12 Jan 2009 21:53:49 +0300 |
parents | d053b4bf6ec6 |
children | 726c3c2a8b8c |
line wrap: on
line diff
--- a/smtp.t +++ b/smtp.t @@ -141,7 +141,7 @@ local $TODO = 'not supported yet'; $s->send('AUTH LOGIN ' . encode_base64('test@example.com', '')); $s->check(qr/^334 UGFzc3dvcmQ6/, 'auth login with username password challenge'); $s->send(encode_base64('secret', '')); -$s->ok('auth login with username'); +$s->authok('auth login with username'); }