Fix WebAPI::Client to always expect links: in reponse.

This commit is contained in:
Daniel Nichter
2012-12-26 09:16:53 -07:00
parent 5051abc7ec
commit 87080d44b2
3 changed files with 43 additions and 53 deletions

View File

@@ -28,7 +28,9 @@ my $ua = Percona::Test::Mock::UserAgent->new(
$ua->{responses}->{get} = [
{
content => {
agents => '/agents',
links => {
agents => '/agents',
},
},
},
];