Composer\Test\Satis\WebBuilderDumpTest::testRepositoryWithNoName PHP Method

testRepositoryWithNoName() public method

    public function testRepositoryWithNoName()
    {
        $this->rootPackage = new RootPackage('__root__', 0, 0);
        $webBuilder = new WebBuilder(new NullOutput(), vfsStream::url('build'), [], false);
        $webBuilder->setRootPackage($this->rootPackage);
        $webBuilder->dump([$this->package]);
        $html = $this->root->getChild('build/index.html')->getContent();
        $this->assertRegExp('/<title>A Composer repository<\\/title>/', $html);
    }