File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2323 "require-dev" : {
2424 "internations/kodierungsregelwerksammlung" : " dev-master" ,
2525 "internations/testing-component" : " dev-master" ,
26- "phpunit/phpunit" : " ~ 4"
26+ "phpunit/phpunit" : " >=5. 4"
2727 },
2828 "autoload" : {
2929 "psr-4" : {"InterNations\\ Component\\ HttpMock\\ " : " src/" }
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class ExtractorFactoryTest extends AbstractTestCase
1717 public function setUp ()
1818 {
1919 $ this ->extractorFactory = new ExtractorFactory ();
20- $ this ->request = $ this ->getSimpleMock ('Symfony\Component\HttpFoundation\Request ' );
20+ $ this ->request = $ this ->createMock ('Symfony\Component\HttpFoundation\Request ' );
2121 }
2222
2323 public function testGetMethod ()
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ class UnifiedRequestTest extends AbstractTestCase
2424
2525 public function setUp ()
2626 {
27- $ this ->wrappedRequest = $ this ->getSimpleMock ('Guzzle\Http\Message\RequestInterface ' );
28- $ this ->wrappedEntityEnclosingRequest = $ this ->getSimpleMock ('Guzzle\Http\Message\EntityEnclosingRequestInterface ' );
27+ $ this ->wrappedRequest = $ this ->createMock ('Guzzle\Http\Message\RequestInterface ' );
28+ $ this ->wrappedEntityEnclosingRequest = $ this ->createMock ('Guzzle\Http\Message\EntityEnclosingRequestInterface ' );
2929 $ this ->unifiedRequest = new UnifiedRequest ($ this ->wrappedRequest );
3030 $ this ->unifiedEnclosingEntityRequest = new UnifiedRequest ($ this ->wrappedEntityEnclosingRequest );
3131 }
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class RequestCollectionFacadeTest extends AbstractTestCase
2222
2323 public function setUp ()
2424 {
25- $ this ->client = $ this ->getSimpleMock ('Guzzle\Http\ClientInterface ' );
25+ $ this ->client = $ this ->createMock ('Guzzle\Http\ClientInterface ' );
2626 $ this ->facade = new RequestCollectionFacade ($ this ->client );
2727 $ this ->request = new Request ('GET ' , '/_request/last ' );
2828 $ this ->request ->setClient ($ this ->client );
You can’t perform that action at this time.
0 commit comments