Skip to content

Commit 94938d9

Browse files
committed
[2.4.6-develop] Build Failures with PHP 8.2
1 parent 9200b6a commit 94938d9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dev/tests/api-functional/testsuite/Magento/Framework/Stdlib/CookieManagerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public function testDeleteCookie()
144144
if (isset($cookie['max-age'])) {
145145
$this->assertEquals(0, $cookie['max-age']);
146146
}
147-
$this->assertEquals('Thu, 01-Jan-1970 00:00:01 GMT', $cookie['expires']);
147+
$this->assertEquals('Thu, 01 Jan 1970 00:00:01 GMT', $cookie['expires']);
148148
}
149149

150150
/**

dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/ProductSearchTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1746,6 +1746,7 @@ public function testFilteringForProductsFromMultipleCategories()
17461746
*/
17471747
public function testFilterProductsBySingleCategoryId(string $fieldName, string $queryCategoryId)
17481748
{
1749+
CacheCleaner::clean(['config']);
17491750
if (is_numeric($queryCategoryId)) {
17501751
$queryCategoryId = (int) $queryCategoryId;
17511752
}

0 commit comments

Comments
 (0)