/** * Tests that the Stable base theme is installed if necessary. */ public function testUpdateHookN() { $this->assertTrue($this->themeHandler->themeExists('test_stable')); $this->assertFalse($this->themeHandler->themeExists('stable')); $this->runUpdates(); // Refresh the theme handler now that Stable has been installed. $this->themeHandler->refreshInfo(); $this->assertTrue($this->themeHandler->themeExists('stable')); }