File tree Expand file tree Collapse file tree
.vortex/tests/phpunit/Functional Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -498,6 +498,12 @@ public function testAhoyWorkflowProvisionFallbackToProfile(): void {
498498 $ this ->logSubstep ('Drop the database to simulate a fresh environment ' );
499499 $ this ->cmd ('ahoy drush sql:drop -y ' , txt: 'Database should be dropped successfully ' );
500500
501+ // Vortex's Redis settings put 'cache.container' on Redis, so the Drupal
502+ // kernel reuses the cached container (built from the pre-drop module set)
503+ // even after the DB is wiped. Flush Redis to force the kernel to rebuild
504+ // its container from the freshly-installed modules.
505+ $ this ->cmd ('ahoy flush-redis ' , txt: 'Redis cache flushed so the kernel rebuilds its container ' );
506+
501507 $ this ->logSubstep ('Provision without fallback should fail ' );
502508 $ this ->fileAddVar ('.env ' , 'VORTEX_PROVISION_FALLBACK_TO_PROFILE ' , 0 );
503509 $ this ->syncToContainer (['.env ' ]);
You can’t perform that action at this time.
0 commit comments