File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Guest Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ public function testCartErrorWithOutOfStockItem()
91
91
self ::assertNotEmpty ($ response ['cart ' ]['items ' ][0 ]['id ' ]);
92
92
self ::assertEquals (2 , $ response ['cart ' ]['items ' ][0 ]['quantity ' ]);
93
93
self ::assertEquals ('simple_product ' , $ response ['cart ' ]['items ' ][0 ]['product ' ]['sku ' ]);
94
+ self ::assertEquals ('OUT_OF_STOCK ' , $ response ['cart ' ]['items ' ][0 ]['product ' ]['stock_status ' ]);
94
95
95
96
self ::assertNotEmpty ($ response ['cart ' ]['items ' ][1 ]['id ' ]);
96
97
self ::assertEquals (2 , $ response ['cart ' ]['items ' ][1 ]['quantity ' ]);
@@ -307,6 +308,7 @@ private function getQuery(string $maskedQuoteId): string
307
308
quantity
308
309
product {
309
310
sku
311
+ stock_status
310
312
}
311
313
prices {
312
314
price {
You can’t perform that action at this time.
0 commit comments