Skip to content

Commit 7ada9ba

Browse files
committed
AC-1805::Magento2.4 GraphQL CustomerOrders Query Logic
1 parent e835ebc commit 7ada9ba

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Sales/CustomerOrders/CustomerOrdersTest.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -99,20 +99,20 @@ public function testOrdersQuery()
9999

100100
/**
101101
*/
102-
public function testOrdersQueryNotAuthorized()
102+
public function testCustomerOrdersQueryNotAuthorized()
103103
{
104104
$this->expectException(\Exception::class);
105105
$this->expectExceptionMessage('The current customer isn\'t authorized.');
106106

107107
$query = <<<QUERY
108-
{
109-
customerOrders {
110-
items {
111-
increment_id
112-
grand_total
113-
}
114-
}
115-
}
108+
{
109+
customerOrders {
110+
items {
111+
increment_id
112+
grand_total
113+
}
114+
}
115+
}
116116
QUERY;
117117
$this->graphQlQuery($query);
118118
}

0 commit comments

Comments
 (0)