Fix tests
parent
1debe22412
commit
93d37833dc
|
@ -126,9 +126,9 @@ class StreamContextFactoryTest extends \PHPUnit_Framework_TestCase
|
||||||
)), $options);
|
)), $options);
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
StreamContextFactory::getContext();
|
StreamContextFactory::getContext('http://example.org');
|
||||||
$this->fail();
|
$this->fail();
|
||||||
} catch (\Exception $e) {
|
} catch (\RuntimeException $e) {
|
||||||
$this->assertInstanceOf('RuntimeException', $e);
|
$this->assertInstanceOf('RuntimeException', $e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue