Skip to content
Snippets Groups Projects
Commit cd42c46c authored by catch's avatar catch
Browse files

Issue #3404769 by acbramley, smustgrave: UpdatePathTestBase::prepareSettings...

Issue #3404769 by acbramley, smustgrave: UpdatePathTestBase::prepareSettings writes entity_update_batch_size incorrectly

(cherry picked from commit b173b839)
parent 0213c58f
Branches
Tags
20 merge requests!8376Drupal views: adding more granularity to the ‘use ajax’ functionality,!8300Issue #3443586 View area displays even when parent view has no results.,!7567Issue #3153723 by quietone, Hardik_Patel_12: Change the scaffolding...,!7565Issue #3153723 by quietone, Hardik_Patel_12: Change the scaffolding...,!7509Change label "Block description" to "Block type",!7344Issue #3292350 by O'Briat, KlemenDEV, hswong3i, smustgrave, quietone: Update...,!6922Issue #3412959 by quietone, smustgrave, longwave: Fix 12 'un' words,!6848Issue #3417553 by longwave: Remove withConsecutive() in CacheCollectorTest,!6720Revert "Issue #3358581 by pfrenssen, _tarik_, a.dmitriiev, smustgrave:...,!6560Update ClaroPreRender.php, confirming classes provided are in array format,!6528Issue #3414261 by catch: Add authenticated user umami performance tests,!6501Issue #3263668 by omkar-pd, Wim Leers, hooroomoo: Re-enable inline form errors...,!6354Draft: Issue #3380392 by phma: Updating language weight from the overview reverts label if translated,!6324Issue #3416723 by Ludo.R: Provide a "node type" views default argument,!6119Issue #3405704 by Spokje, longwave: symfony/psr-http-message-bridge major version bump,!5950Issue #3403653 by alexpott, longwave: Incorporate improvements to how contrib runs PHPStan to core,!5858Issue #3401971 by fjgarlin: Test-only job shouldn't require constant rebases...,!5716Draft: Issue #3401102 by Spokje, longwave, smustgrave: Nightwatch artifacts on GitLab not retained,!5674Transaction autocommit during shutdown relies on unreliable object destruction order,!5644Issue #3395563 by nireneko, marvil07, lauriii, borisson_, smustgrave, Wim...
Pipeline #57389 passed with warnings
Pipeline: drupal

#57393

    ......@@ -182,7 +182,7 @@ protected function prepareSettings() {
    ];
    // Force every update hook to only run one entity per batch.
    $settings['entity_update_batch_size'] = (object) [
    $settings['settings']['entity_update_batch_size'] = (object) [
    'value' => 1,
    'required' => TRUE,
    ];
    ......
    ......@@ -5,6 +5,7 @@
    use Drupal\Component\Utility\Html;
    use Drupal\Component\Render\FormattableMarkup;
    use Drupal\Core\Database\Database;
    use Drupal\Core\Site\Settings;
    /**
    * Tests the update path base class.
    ......@@ -229,4 +230,11 @@ public function testFixturesSetup() {
    $this->assertCount(3, $this->databaseDumpFiles);
    }
    /**
    * Tests that settings are prepared correctly.
    */
    public function testPrepareSettings(): void {
    $this->assertSame(1, Settings::get('entity_update_batch_size'));
    }
    }
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment