diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-06-04 10:15:45 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-06-04 10:15:45 +0200 |
| commit | 6685b87533d35500ecba3cb72be78bd2f366e9c4 (patch) | |
| tree | 68fa4d1b8047581a8c91262c49647072b79aede6 /t/lib/TestAPI.pm | |
| parent | update dist.ini (diff) | |
| download | net-http-api-6685b87533d35500ecba3cb72be78bd2f366e9c4.tar.gz | |
fix bug whit remaining params in url
Diffstat (limited to 't/lib/TestAPI.pm')
| -rw-r--r-- | t/lib/TestAPI.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/lib/TestAPI.pm b/t/lib/TestAPI.pm index 1e8bf97..a2aed55 100644 --- a/t/lib/TestAPI.pm +++ b/t/lib/TestAPI.pm @@ -16,8 +16,8 @@ net_api_method users => ( net_api_method user => ( method => 'GET', - path => '/user/:user_name', - params => [qw/user_name/], + path => '/user/:user_name/:last_name', + params => [qw/user_name last_name/], required => [qw/user_name/], expected => [qw/200/], ); |
