This repository was archived by the owner on Oct 24, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 1717use Monolog \Logger ;
1818use Commercetools \Core \Client \JsonEndpoint ;
1919use Commercetools \Core \Client \OAuth \Token ;
20- use Commercetools \Core \Error \ApiException ;
2120use Commercetools \Core \Request \ClientRequestInterface ;
2221
2322class ClientTest extends \PHPUnit_Framework_TestCase
@@ -357,12 +356,10 @@ public function testLogDeprecatedMethod()
357356 }
358357
359358 /**
360- * @expectedException \GuzzleHttp\Exception\ConnectException
359+ * @expectedException \Commercetools\Core\Error\ApiException
361360 */
362361 public function testBatchException ()
363362 {
364- $ this ->markTestSkipped ('todo fix segfault ' );
365- return ;
366363 $ oauthMock = $ this ->getMock ('\Commercetools\Core\Client\OAuth\Manager ' , ['getToken ' ], [$ this ->getConfig ()]);
367364 $ oauthMock ->expects ($ this ->any ())
368365 ->method ('getToken ' )
@@ -399,8 +396,6 @@ public function testBatchException()
399396
400397 public function testBatchExceptionWithResponse ()
401398 {
402- $ this ->markTestSkipped ('todo fix segfault ' );
403- return ;
404399 $ oauthMock = $ this ->getMock ('\Commercetools\Core\Client\OAuth\Manager ' , ['getToken ' ], [$ this ->getConfig ()]);
405400 $ oauthMock ->expects ($ this ->any ())
406401 ->method ('getToken ' )
You can’t perform that action at this time.
0 commit comments