Explorar o código

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

ptarjan %!s(int64=11) %!d(string=hai) anos
pai
achega
09c0d971d3
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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());
         }
     }