Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
10 | 1 | public function testPrivateMethodRequest() |
|
11 | { |
||
12 | 1 | $response = $this->sendJsonRpcRequest(new Request('prefix/security/private', []), '/test/'); |
|
13 | |||
14 | 1 | self::assertFalse($response->isSuccessful()); |
|
15 | 1 | self::assertEquals($response->getError()->getCode(), JsonRpcError::METHOD_NOT_FOUND); |
|
16 | 1 | } |
|
17 | |||
25 |