File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
dev/tests/api-functional/testsuite/Magento/GraphQl/Customer Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 7
7
8
8
namespace Magento \GraphQl \Customer ;
9
9
10
- use Magento \Customer \Api \AccountManagementInterface ;
11
10
use Magento \Customer \Api \CustomerRepositoryInterface ;
12
11
use Magento \Customer \Model \CustomerAuthUpdate ;
13
12
use Magento \Customer \Model \CustomerRegistry ;
@@ -137,7 +136,7 @@ public function testAccountIsNotConfirmed()
137
136
$ currentPassword = 'password ' ;
138
137
$ headersMap = $ this ->getCustomerAuthHeaders ($ customerEmail , $ currentPassword );
139
138
$ customer = $ this ->customerRepository ->getById (1 )->setConfirmation (
140
- AccountManagementInterface::ACCOUNT_CONFIRMATION_REQUIRED
139
+ \ Magento \ Customer \ Api \ AccountManagementInterface::ACCOUNT_CONFIRMATION_REQUIRED
141
140
);
142
141
$ this ->customerRepository ->save ($ customer );
143
142
$ query = <<<QUERY
@@ -149,12 +148,7 @@ public function testAccountIsNotConfirmed()
149
148
}
150
149
}
151
150
QUERY ;
152
- $ this ->graphQlQuery (
153
- $ query ,
154
- [],
155
- '' ,
156
- $ headersMap
157
- );
151
+ $ this ->graphQlQuery ($ query , [], '' , $ headersMap );
158
152
}
159
153
160
154
/**
You can’t perform that action at this time.
0 commit comments