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 11
11
- 5.6
12
12
- 7.0
13
13
- 7.1
14
- - hhvm
15
14
16
15
env :
17
16
- TEST_COMMAND="composer test"
@@ -27,6 +26,8 @@ matrix:
27
26
env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci"
28
27
- php : 7.1
29
28
env : DEPENDENCIES=dev
29
+ - php : hhvm
30
+ dist : trusty
30
31
# Test against LTS versions
31
32
- php : 7.0
32
33
env : SYMFONY_VERSION=2.8.*
Original file line number Diff line number Diff line change @@ -82,10 +82,7 @@ public function testFormatHttpException()
82
82
83
83
public function testFormatTransferException ()
84
84
{
85
- $ exception = $ this ->getMockBuilder (TransferException::class)
86
- ->setConstructorArgs (['ExceptionMessage ' ])
87
- ->getMock ()
88
- ;
85
+ $ exception = new TransferException ('ExceptionMessage ' );
89
86
90
87
$ this ->assertEquals ('Transfer error: ExceptionMessage ' , $ this ->subject ->formatException ($ exception ));
91
88
}
You can’t perform that action at this time.
0 commit comments