File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
dev/tests/api-functional/testsuite/Magento/GraphQl/Directory Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ public function testCachePurgedWithStoreScopeCountryConfigChange()
197
197
$ this ->assertArrayHasKey ('countries ' , $ defaultStoreResponseHit ['body ' ]);
198
198
$ defaultStoreResponseHitResult = $ defaultStoreResponseHit ['body ' ]['countries ' ];
199
199
$ this ->assertCount (1 , $ defaultStoreResponseHitResult );
200
- $ this ->assertArrayHasKey ('US ' , $ defaultStoreResponseHitResult [0 ]['id ' ]);
200
+ $ this ->assertEquals ('US ' , $ defaultStoreResponseHitResult [0 ]['id ' ]);
201
201
202
202
// Query test store countries after test store country config is changed
203
203
// Verify we obtain a cache MISS at the 2nd time
Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ public function testCachePurgedWithStoreScopeCountryConfigChange()
268
268
);
269
269
$ this ->assertArrayHasKey ('country ' , $ defaultStoreResponseHit ['body ' ]);
270
270
$ defaultStoreResponseHitResult = $ defaultStoreResponseHit ['body ' ]['country ' ];
271
- $ this ->assertArrayHasKey ('US ' , $ defaultStoreResponseHitResult ['id ' ]);
271
+ $ this ->assertEquals ('US ' , $ defaultStoreResponseHitResult ['id ' ]);
272
272
273
273
// Query test store DE country after test store country config is changed
274
274
// Verify we obtain a cache MISS at the 2nd time
You can’t perform that action at this time.
0 commit comments