1
0
Fork 0

Check for the actual warning description

pull/7641/head^2
Alexey Kopytko 2018-10-26 12:17:38 +09:00 committed by Rob
parent 20107dbf77
commit aa6d138bdc
1 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,8 @@ class FactoryTest extends TestCase
$ioMock = $this->getMockBuilder('Composer\IO\IOInterface')->getMock(); $ioMock = $this->getMockBuilder('Composer\IO\IOInterface')->getMock();
$ioMock->expects($this->once()) $ioMock->expects($this->once())
->method("writeError"); ->method("writeError")
->with($this->equalTo('<warning>You are running Composer with SSL/TLS protection disabled.</warning>'));
$config = $this $config = $this
->getMockBuilder('Composer\Config') ->getMockBuilder('Composer\Config')