File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6060 'lazy ' => true ,
6161 ]);
6262
63- // Issue #130 (DI state must survive kernel reboots when the service is persisted).
6463 $ services ->set (App \Service \ExternalApiStub::class)
6564 ->public ();
6665};
Original file line number Diff line number Diff line change 66
77/**
88 * A stand-in for an external API client whose response can be faked at runtime.
9- *
10- * Used by App\Tests\Functional\IssuesCest to reproduce issue #130: a service
11- * configured on the fly after a request must keep that configuration on the
12- * next request when it is persisted, even though the kernel reboots in between.
139 */
1410final class ExternalApiStub
1511{
Original file line number Diff line number Diff line change @@ -136,12 +136,6 @@ public function ensureMessageObjectsCanBeFetched(FunctionalTester $I)
136136
137137 /**
138138 * @see https://github.com/Codeception/module-symfony/issues/130
139- *
140- * A service configured on the fly after a request keeps that configuration
141- * on the next request when it is persisted, even though the kernel reboots
142- * between requests (the default rebootable client). This mirrors pure
143- * Symfony, where DI state is preserved by persisting the service (or
144- * disabling the reboot) rather than by changing when the kernel reboots.
145139 */
146140 public function keepConfiguredServiceStateAcrossKernelReboot (FunctionalTester $ I )
147141 {
You can’t perform that action at this time.
0 commit comments