瀏覽代碼

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

ptarjan 11 年之前
父節點
當前提交
09c0d971d3
共有 1 個文件被更改,包括 0 次插入1 次删除
  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());
         }
     }