mirror of
https://github.com/SkillDisplay/PHPToolKit.git
synced 2024-11-23 08:16:09 +01:00
[TASK] Fix API url for organisation statistics
This commit is contained in:
parent
a7e0532d06
commit
d5207ef3b5
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class OrganisationTest extends TestCase
|
|||
$settings->getApiKey()->willReturn('none');
|
||||
|
||||
$client->send(Argument::that(function (Request $request) {
|
||||
return (string)$request->getUri() === 'https://example.com/api/v1/organisation/10/statistic'
|
||||
return (string)$request->getUri() === 'https://example.com/api/v1/organisation/10/statistics'
|
||||
&& $request->getHeader('x-api-key') === ['none']
|
||||
&& $request->getHeader('Content-Type') === ['application/json']
|
||||
&& $request->getMethod() === 'GET';
|
||||
|
|
Loading…
Reference in a new issue