File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1111 - 5.6
1212 - 7.0
1313 - 7.1
14- - hhvm
1514
1615env :
1716 - TEST_COMMAND="composer test"
@@ -27,6 +26,8 @@ matrix:
2726 env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci"
2827 - php : 7.1
2928 env : DEPENDENCIES=dev
29+ - php : hhvm
30+ dist : trusty
3031 # Test against LTS versions
3132 - php : 7.0
3233 env : SYMFONY_VERSION=2.8.*
Original file line number Diff line number Diff line change @@ -82,10 +82,7 @@ public function testFormatHttpException()
8282
8383 public function testFormatTransferException ()
8484 {
85- $ exception = $ this ->getMockBuilder (TransferException::class)
86- ->setConstructorArgs (['ExceptionMessage ' ])
87- ->getMock ()
88- ;
85+ $ exception = new TransferException ('ExceptionMessage ' );
8986
9087 $ this ->assertEquals ('Transfer error: ExceptionMessage ' , $ this ->subject ->formatException ($ exception ));
9188 }
You can’t perform that action at this time.
0 commit comments