| Total Complexity | 1 |
| Total Lines | 10 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | final class AuthServiceTest extends Service { |
||
| 12 | |||
| 13 | public function test($user, $password) { |
||
| 14 | $this->setUrl('https://jsonplaceholder.typicode.com/todos'); |
||
| 15 | $this->addAuthHeader($user, $password); |
||
| 16 | $this->addRequestToken($password, 'TEST'); |
||
| 17 | $this->setDebug(true); |
||
| 18 | $this->setIsJson(); |
||
| 19 | $this->setType(Request::VERB_GET); |
||
| 20 | $this->callSrv(); |
||
| 21 | } |
||
| 24 |