Mercurial > hg > nginx-tests
comparison pop3.t @ 71:4715bd4d4693
Tests: auth login with username in 0.7.34, remove TODO.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 11 Feb 2009 15:14:42 +0300 |
parents | 726c3c2a8b8c |
children | f81c6be872e5 |
comparison
equal
deleted
inserted
replaced
70:b9bf423929cc | 71:4715bd4d4693 |
---|---|
109 $s->send(encode_base64('secret', '')); | 109 $s->send(encode_base64('secret', '')); |
110 $s->ok('auth login simple'); | 110 $s->ok('auth login simple'); |
111 | 111 |
112 # auth login with username | 112 # auth login with username |
113 | 113 |
114 TODO: { | |
115 local $TODO = 'not supported yet'; | |
116 | |
117 $s = Test::Nginx::POP3->new(); | 114 $s = Test::Nginx::POP3->new(); |
118 $s->read(); | 115 $s->read(); |
119 | 116 |
120 $s->send('AUTH LOGIN ' . encode_base64('test@example.com', '')); | 117 $s->send('AUTH LOGIN ' . encode_base64('test@example.com', '')); |
121 $s->check(qr/\+ UGFzc3dvcmQ6/, 'auth login with username password challenge'); | 118 $s->check(qr/\+ UGFzc3dvcmQ6/, 'auth login with username password challenge'); |
122 | 119 |
123 $s->send(encode_base64('secret', '')); | 120 $s->send(encode_base64('secret', '')); |
124 $s->ok('auth login with username'); | 121 $s->ok('auth login with username'); |
125 | 122 |
126 } | |
127 | |
128 ############################################################################### | 123 ############################################################################### |