Skip to content

Commit 69b268e

Browse files
author
Dinesh V B
committed
issue-29302-added test for the changes
1 parent 36612ec commit 69b268e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/EditQuoteItemWithCustomOptionsTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ public function testChangeQuoteItemCustomOptions()
7979
self::assertCount(2, $itemOptionsResponse);
8080
self::assertEquals('test', $itemOptionsResponse[0]['values'][0]['value']);
8181
self::assertEquals('test', $itemOptionsResponse[1]['values'][0]['value']);
82+
self::assertEquals('field', $itemOptionsResponse[0]['type']);
83+
self::assertEquals('area', $itemOptionsResponse[1]['type']);
8284
}
8385

8486
/**
@@ -209,6 +211,7 @@ private function getQuery(string $maskedQuoteId, int $quoteItemId, $customizable
209211
... on SimpleCartItem {
210212
customizable_options {
211213
label
214+
type
212215
values {
213216
label
214217
value

0 commit comments

Comments
 (0)