Support plugin source on registration
Change-Id: I0ddc6ff0c0499db3a16114d0c0604fb9615d7127
diff --git a/t/server/mock.pl b/t/server/mock.pl
index 7deb12a..8064208 100644
--- a/t/server/mock.pl
+++ b/t/server/mock.pl
@@ -544,6 +544,7 @@
my $desc = $json->{description};
my $type = $json->{type};
my $url = $json->{url};
+ my $src = $json->{source};
my $redirect_uri = $json->{redirect_uri};
my $list = $c->app->defaults('oauth.client_list');
@@ -553,7 +554,8 @@
"client_name" => $name,
"client_description" => $desc,
"client_url" => $url,
- "client_redirect_uri" => $redirect_uri
+ "client_redirect_uri" => $redirect_uri,
+ "client_source" => $src
};
if ($redirect_uri && $redirect_uri =~ /FAIL$/) {