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