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 1598c0f commit 6680eb9Copy full SHA for 6680eb9
lib/internal/Magento/Framework/Stdlib/Test/Unit/Cookie/PhpCookieManagerTest.php
@@ -22,6 +22,8 @@
22
23
/**
24
* Test PhpCookieManager
25
+ *
26
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
27
*/
28
class PhpCookieManagerTest extends \PHPUnit_Framework_TestCase
29
{
@@ -542,7 +544,7 @@ public function testSetTooManyCookies()
542
544
->willReturn($userAgent);
543
545
546
$this->loggerMock->expects($this->once())
- ->method('warning')
547
+ ->method('warning')
548
->with(
549
new Phrase('Unable to send the cookie. Maximum number of cookies would be exceeded.'),
550
array_merge($_COOKIE, ['user-agent' => $userAgent])
0 commit comments