ExpressiveInstallerTest\RemoveInstallerTest::testInstallerIsRemoved PHP Method

testInstallerIsRemoved() public method

    public function testInstallerIsRemoved()
    {
        // Remove the installer
        OptionalPackages::removeInstallerFromDefinition();
        $config = $this->getComposerDefinition();
        $this->assertFalse(isset($config['autoload']['psr-4']['ExpressiveInstaller\\']));
        $this->assertFalse(isset($config['autoload-dev']['psr-4']['ExpressiveInstallerTest\\']));
        $this->assertFalse(isset($config['extra']['branch-alias']));
        $this->assertFalse(isset($config['extra']['optional-packages']));
        $this->assertFalse(isset($config['scripts']['pre-install-cmd']));
        $this->assertFalse(isset($config['scripts']['pre-update-cmd']));
    }