Loading core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php +6 −4 Original line number Diff line number Diff line Loading @@ -40,9 +40,9 @@ protected function installParameters() { protected $profile = 'demo_umami'; /** * Tests some features specific to being a demonstration profile. * Tests various capabilities of the demo profile. */ public function testDemoSpecificFeatures(): void { public function testDemoFeatures(): void { // This test coverage is organized into separate protected methods rather // than individual test methods to avoid having to reinstall Umami for // a handful of assertions each. Loading @@ -50,6 +50,8 @@ public function testDemoSpecificFeatures(): void { $this->testWarningsOnStatusPage(); $this->testAppearance(); $this->testDemonstrationWarningMessage(); $this->testConfig(); $this->testEditNodesByAdmin(); } /** Loading @@ -67,7 +69,7 @@ protected function testWarningsOnStatusPage() { /** * Tests the profile supplied configuration is the same after installation. */ public function testConfig(): void { protected function testConfig(): void { // Just connect directly to the config table so we don't need to worry about // the cache layer. $active_config_storage = $this->container->get('config.storage'); Loading Loading @@ -160,7 +162,7 @@ protected function testUser() { /** * Tests the successful editing of nodes by admin. */ public function testEditNodesByAdmin(): void { protected function testEditNodesByAdmin(): void { $permissions = [ 'administer nodes', 'edit any recipe content', Loading Loading
core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php +6 −4 Original line number Diff line number Diff line Loading @@ -40,9 +40,9 @@ protected function installParameters() { protected $profile = 'demo_umami'; /** * Tests some features specific to being a demonstration profile. * Tests various capabilities of the demo profile. */ public function testDemoSpecificFeatures(): void { public function testDemoFeatures(): void { // This test coverage is organized into separate protected methods rather // than individual test methods to avoid having to reinstall Umami for // a handful of assertions each. Loading @@ -50,6 +50,8 @@ public function testDemoSpecificFeatures(): void { $this->testWarningsOnStatusPage(); $this->testAppearance(); $this->testDemonstrationWarningMessage(); $this->testConfig(); $this->testEditNodesByAdmin(); } /** Loading @@ -67,7 +69,7 @@ protected function testWarningsOnStatusPage() { /** * Tests the profile supplied configuration is the same after installation. */ public function testConfig(): void { protected function testConfig(): void { // Just connect directly to the config table so we don't need to worry about // the cache layer. $active_config_storage = $this->container->get('config.storage'); Loading Loading @@ -160,7 +162,7 @@ protected function testUser() { /** * Tests the successful editing of nodes by admin. */ public function testEditNodesByAdmin(): void { protected function testEditNodesByAdmin(): void { $permissions = [ 'administer nodes', 'edit any recipe content', Loading