99
1010namespace PrivatePackagist \ApiClient \Api ;
1111
12+ use PHPUnit \Framework \MockObject \MockObject ;
13+
1214class CredentialsTest extends ApiTestCase
1315{
1416 public function testAll ()
@@ -24,7 +26,7 @@ public function testAll()
2426 ],
2527 ];
2628
27- /** @var Customers&\PHPUnit_Framework_MockObject_MockObject $api */
29+ /** @var Credentials&MockObject $api */
2830 $ api = $ this ->getApiMock ();
2931 $ api ->expects ($ this ->once ())
3032 ->method ('get ' )
@@ -45,7 +47,7 @@ public function testShow()
4547 'type ' => 'http-basic ' ,
4648 ];
4749
48- /** @var Customers&\PHPUnit_Framework_MockObject_MockObject $api */
50+ /** @var Credentials&MockObject $api */
4951 $ api = $ this ->getApiMock ();
5052 $ api ->expects ($ this ->once ())
5153 ->method ('get ' )
@@ -66,7 +68,7 @@ public function testCreate()
6668 'type ' => 'http-basic ' ,
6769 ];
6870
69- /** @var Customers&\PHPUnit_Framework_MockObject_MockObject $api */
71+ /** @var Credentials&MockObject $api */
7072 $ api = $ this ->getApiMock ();
7173 $ api ->expects ($ this ->once ())
7274 ->method ('post ' )
@@ -87,7 +89,7 @@ public function testEdit()
8789 'type ' => 'http-basic ' ,
8890 ];
8991
90- /** @var Customers&\PHPUnit_Framework_MockObject_MockObject $api */
92+ /** @var Credentials&MockObject $api */
9193 $ api = $ this ->getApiMock ();
9294 $ api ->expects ($ this ->once ())
9395 ->method ('put ' )
@@ -101,7 +103,7 @@ public function testRemove()
101103 {
102104 $ expected = [];
103105
104- /** @var Customers&\PHPUnit_Framework_MockObject_MockObject $api */
106+ /** @var Credentials&MockObject $api */
105107 $ api = $ this ->getApiMock ();
106108 $ api ->expects ($ this ->once ())
107109 ->method ('delete ' )
0 commit comments