Skip to content

Commit 82f34b0

Browse files
author
Dinesh V B
committed
issue-29302-added a test in another function
1 parent 256cffc commit 82f34b0

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
@@ -113,6 +113,7 @@ public function testOptionsSetPersistsOnQtyChange()
113113
... on SimpleCartItem {
114114
customizable_options {
115115
label
116+
type
116117
values {
117118
value
118119
}
@@ -130,6 +131,8 @@ public function testOptionsSetPersistsOnQtyChange()
130131
self::assertCount(2, $cartItemResponse['customizable_options']);
131132
self::assertEquals('initial value', $cartItemResponse['customizable_options'][0]['values'][0]['value']);
132133
self::assertEquals('initial value', $cartItemResponse['customizable_options'][1]['values'][0]['value']);
134+
self::assertEquals('field', $cartItemResponse['customizable_options'][0]['type']);
135+
self::assertEquals('area', $cartItemResponse['customizable_options'][1]['type']);
133136
}
134137

135138
/**

0 commit comments

Comments
 (0)