Chris@0: siteName = $this->randomMachineName(); Chris@0: $parameters = parent::installParameters(); Chris@0: $parameters['forms']['install_configure_form']['site_name'] = $this->siteName; Chris@0: return $parameters; Chris@0: } Chris@0: Chris@0: /** Chris@0: * Tests that the desired site name appears on the page after installation. Chris@0: */ Chris@0: public function testSiteName() { Chris@0: $this->drupalGet(''); Chris@0: $this->assertRaw($this->siteName, 'The site name that was set during the installation appears on the front page after installation.'); Chris@0: } Chris@0: Chris@0: }