Sfoglia il codice sorgente

Merge pull request #2435 from ptarjan/master

don't require the error message have the first line of HTTP output in it
Jordi Boggiano 11 anni fa
parent
commit
a537594e59
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());
         }
     }