Check for the actual warning description

main
Alexey Kopytko 6 years ago committed by Rob
parent 20107dbf77
commit aa6d138bdc

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

Loading…
Cancel
Save