1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Fix tests

This commit is contained in:
Jordi Boggiano 2013-05-30 15:28:38 +02:00
parent 1debe22412
commit 93d37833dc

View file

@ -126,9 +126,9 @@ class StreamContextFactoryTest extends \PHPUnit_Framework_TestCase
)), $options);
} else {
try {
StreamContextFactory::getContext();
StreamContextFactory::getContext('http://example.org');
$this->fail();
} catch (\Exception $e) {
} catch (\RuntimeException $e) {
$this->assertInstanceOf('RuntimeException', $e);
}
}