Skip to content
Snippets Groups Projects

Uninstall automated_cron.

Merged catch requested to merge issue/drupal_cms-3505112:3505112-cron into 1.x
1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
@@ -32,6 +32,9 @@ class PerformanceTest extends PerformanceTestBase {
@@ -32,6 +32,9 @@ class PerformanceTest extends PerformanceTestBase {
public function testPerformance(): void {
public function testPerformance(): void {
$dir = InstalledVersions::getInstallPath('drupal/drupal_cms_starter');
$dir = InstalledVersions::getInstallPath('drupal/drupal_cms_starter');
$this->applyRecipe($dir);
$this->applyRecipe($dir);
 
// Applying the recipe installs automated cron, but we don't want cron to
 
// run in the middle of a performance test, so uninstall it.
 
\Drupal::service('module_installer')->uninstall(['automated_cron']);
$this->doTestAnonymousFrontPage();
$this->doTestAnonymousFrontPage();
$this->doTestEditorFrontPage();
$this->doTestEditorFrontPage();
}
}
Loading