Skip to content

Commit ef4cdc9

Browse files
Pooja.ManralPooja.Manral
authored andcommitted
AC-11729::Magento_GraphQl execute headers processing even if the header value does not pass validation
1 parent d0529c9 commit ef4cdc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/PageCache/ProductInMultipleStoresCacheTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ public function testProductFromSpecificAndDefaultStoreWithMultiCurrency()
306306
// test cached response store + currency header with non existing currency, and no valid response, no cache
307307
$headerMap = ['Store' => $storeCodeFromFixture, 'Content-Currency' => 'SOMECURRENCY'];
308308
$this->expectExceptionMessage(
309-
'GraphQL response contains errors: Please correct the target currency'
309+
'GraphQL response contains errors: Requested store is not found (fixture_second_store)'
310310
);
311311
$this->graphQlQuery($query, [], '', $headerMap);
312312
}

0 commit comments

Comments
 (0)