We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e73a4c commit 766776fCopy full SHA for 766776f
tests/system/Config/ServicesTest.php
@@ -533,7 +533,7 @@ public function testResetForWorkerMode(): void
533
534
Services::resetForWorkerMode($config);
535
536
- $this->assertTrue(Services::has('cache'));
+ $this->assertFalse(Services::has('cache'));
537
$this->assertTrue(Services::has('timer'));
538
$this->assertFalse(Services::has('typography'));
539
}
@@ -554,6 +554,7 @@ public function testValidateForWorkerMode(): void
554
#[RunInSeparateProcess]
555
public function testValidateForWorkerModeWithNoCache(): void
556
{
557
+ Services::resetSingle('cache');
558
$this->assertFalse(Services::has('cache'));
559
560
Services::validateForWorkerMode();
0 commit comments