install(['system_test']); // Clear caches to ensure that system_test's routes are available. $this->resetAll(); // Confirm that the install_profile is correct. $this->drupalGet('/system-test/get-install-profile'); $this->assertText('minimal'); // Make an anonymous visit to the installer $this->drupalLogout(); $this->visitInstaller(); // Ensure that the install profile is still correct. $this->drupalGet('/system-test/get-install-profile'); $this->assertText('minimal'); } }