Skip to content
Snippets Groups Projects
Verified Commit 4adbf9c4 authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3468831 by catch, smustgrave: Speed up DemoUmamiProfileTest

(cherry picked from commit ef3f5e38)
parent e53b0392
No related branches found
No related tags found
10 merge requests!10602Issue #3438769 by vinmayiswamy, antonnavi, michelle, amateescu: Sub workspace does not clear,!10301Issue #3469309 by mstrelan, smustgrave, moshe weitzman: Use one-time login...,!10187Issue #3487488 by dakwamine: ExtensionMimeTypeGuesser::guessMimeType must support file names with "0" (zero) like foo.0.zip,!9929Issue #3445469 by pooja_sharma, smustgrave: Add additional test coverage for...,!9787Resolve issue 3479427 - bootstrap barrio issue under Windows,!9742Issue #3463908 by catch, quietone: Split OptionsFieldUiTest into two,!9526Issue #3458177 by mondrake, catch, quietone, godotislate, longwave, larowlan,...,!6502Draft: Resolve #2938524 "Plach testing issue",!38582585169-10.1.x,!3226Issue #2987537: Custom menu link entity type should not declare "bundle" entity key
Pipeline #259600 failed
......@@ -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.
......@@ -50,6 +50,8 @@ public function testDemoSpecificFeatures(): void {
$this->testWarningsOnStatusPage();
$this->testAppearance();
$this->testDemonstrationWarningMessage();
$this->testConfig();
$this->testEditNodesByAdmin();
}
/**
......@@ -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');
......@@ -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',
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment