File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
dev/tests/api-functional/testsuite/Magento/GraphQl/PageCache Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,10 @@ public function testCacheTagForCategoriesWithProduct()
95
95
96
96
// cache-debug header value should be a MISS when category is loaded first time
97
97
$ responseMissOnCategoryQuery = $ this ->graphQlQueryWithResponseHeaders ($ categoryQuery , $ categoryQueryVariables );
98
+ print_r ("Value of Category Query " );
99
+ print_r ("======= " );
100
+ print_r ($ responseMissOnCategoryQuery );
101
+ print_r (" end ======= " );
98
102
$ this ->assertArrayHasKey (CacheIdCalculator::CACHE_ID_HEADER , $ responseMissOnCategoryQuery ['headers ' ]);
99
103
$ this ->assertArrayHasKey ('X-Magento-Cache-Debug ' , $ responseMissOnCategoryQuery ['headers ' ]);
100
104
$ this ->assertEquals ('MISS ' , $ responseMissOnCategoryQuery ['headers ' ]['X-Magento-Cache-Debug ' ]);
You can’t perform that action at this time.
0 commit comments