File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
dev/tests/api-functional/testsuite/Magento/GraphQl/Customer Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -223,6 +223,25 @@ public function testPasswordResetForLockCustomer()
223
223
$ this ->graphQlMutation ($ query );
224
224
}
225
225
226
+ /**
227
+ * Check type of autocomplete_on_storefront storeConfig value
228
+ *
229
+ * @throws Exception
230
+ */
231
+ public function testReturnTypeAutocompleteOnStorefrontConfig ()
232
+ {
233
+ $ query = <<<QUERY
234
+ {
235
+ storeConfig {
236
+ autocomplete_on_storefront
237
+ }
238
+ }
239
+ QUERY ;
240
+ $ response = $ this ->graphQlQuery ($ query );
241
+ self ::assertArrayHasKey ('autocomplete_on_storefront ' , $ response ['storeConfig ' ]);
242
+ self ::assertInternalType ('bool ' ,$ response ['storeConfig ' ]['autocomplete_on_storefront ' ]);
243
+ }
244
+
226
245
/**
227
246
* Get reset password token
228
247
*
You can’t perform that action at this time.
0 commit comments