Merge pull request #2435 from ptarjan/master
don't require the error message have the first line of HTTP output in itpull/2436/head
commit
a537594e59
|
@ -157,7 +157,6 @@ class RemoteFilesystemTest extends \PHPUnit_Framework_TestCase
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
$this->assertInstanceOf('Composer\Downloader\TransportException', $e);
|
$this->assertInstanceOf('Composer\Downloader\TransportException', $e);
|
||||||
$this->assertEquals(404, $e->getCode());
|
$this->assertEquals(404, $e->getCode());
|
||||||
$this->assertContains('404 Not Found', $e->getMessage());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue