We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ece031d commit 7811896Copy full SHA for 7811896
app/code/Magento/Csp/Test/Unit/Model/Mode/ConfigManagerTest.php
@@ -26,8 +26,6 @@
26
*/
27
class ConfigManagerTest extends TestCase
28
{
29
- const STUB_CRONTAB_AREA = 'crontab';
30
-
31
/**
32
* @var ConfigManager
33
@@ -81,7 +79,7 @@ public function testThrownExceptionForCrontabArea()
81
79
82
80
$this->stateMock->expects($this->any())
83
->method('getAreaCode')
84
- ->willReturn(static::STUB_CRONTAB_AREA);
+ ->willReturn(Area::AREA_CRONTAB);
85
86
$this->model->getConfigured();
87
}
app/code/Magento/Csp/Test/Unit/Model/PolicyRendererPoolTest.php
@@ -23,7 +23,7 @@
23
24
class PolicyRendererPoolTest extends TestCase
25
- const STUB_POLICY_ID = 'header';
+ private const STUB_POLICY_ID = 'header';
* @var PolicyRendererPool
0 commit comments