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
8585 ->disableOriginalConstructor ()
8686 ->getMock ();
8787 $ path = 'jquery.js ' ;
88- $ area = 'frontend ' ;
88+ $ area = 'base ' ;
8989
9090 $ data = new SubresourceIntegrity (
9191 [
@@ -96,7 +96,6 @@ public function testBeforeGetFilteredProperties(): void
9696 $ properties ['attributes ' ]['integrity ' ] = $ data ->getHash ();
9797 $ properties ['attributes ' ]['crossorigin ' ] = 'anonymous ' ;
9898 $ expected = [$ this ->assetInterfaceMock , $ properties ];
99- $ this ->stateMock ->expects ($ this ->once ())->method ('getAreaCode ' )->willReturn ($ area );
10099 $ this ->integrityRepositoryPoolMock ->expects ($ this ->once ())->method ('get ' )->with ($ area )
101100 ->willReturn (
102101 $ integrityRepositoryMock
You can’t perform that action at this time.
0 commit comments