Przeglądaj źródła

don't require the error message have the first line of HTTP output in it

ptarjan 11 lat temu
rodzic
commit
09c0d971d3

+ 0 - 1
tests/Composer/Test/Util/RemoteFilesystemTest.php

@@ -157,7 +157,6 @@ class RemoteFilesystemTest extends \PHPUnit_Framework_TestCase
         } catch (\Exception $e) {
             $this->assertInstanceOf('Composer\Downloader\TransportException', $e);
             $this->assertEquals(404, $e->getCode());
-            $this->assertContains('404 Not Found', $e->getMessage());
         }
     }