File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
app/code/Magento/Csp/Test/Unit/Plugin Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ public function testBeforeGetFilteredProperties(): void
85
85
->disableOriginalConstructor ()
86
86
->getMock ();
87
87
$ path = 'jquery.js ' ;
88
- $ area = 'frontend ' ;
88
+ $ area = 'base ' ;
89
89
90
90
$ data = new SubresourceIntegrity (
91
91
[
@@ -96,7 +96,6 @@ public function testBeforeGetFilteredProperties(): void
96
96
$ properties ['attributes ' ]['integrity ' ] = $ data ->getHash ();
97
97
$ properties ['attributes ' ]['crossorigin ' ] = 'anonymous ' ;
98
98
$ expected = [$ this ->assetInterfaceMock , $ properties ];
99
- $ this ->stateMock ->expects ($ this ->once ())->method ('getAreaCode ' )->willReturn ($ area );
100
99
$ this ->integrityRepositoryPoolMock ->expects ($ this ->once ())->method ('get ' )->with ($ area )
101
100
->willReturn (
102
101
$ integrityRepositoryMock
You can’t perform that action at this time.
0 commit comments