Sfoglia il codice sorgente

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

ptarjan 11 anni fa
parent
commit
09c0d971d3
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      tests/Composer/Test/Util/RemoteFilesystemTest.php

+ 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());
         }
     }