@@ -44,7 +44,13 @@ class MobytServiceTest extends TestCase
->method('getContent')
->with(
'login',
- ['username' => $login, 'password' => $password]
+ [],
+ [
+ 'headers' => [
+ 'Content-Type: application/json',
+ 'Authorization: Basic ' . base64_encode($login.':'.$password),
+ ]
)
->willReturn('123;456');