@shopware-ag/acceptance-test-suite 12.1.7 → 12.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +12 -8
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5445,14 +5445,18 @@ class TestDataService {
|
|
|
5445
5445
|
deleteOperations[`delete-${record.resource}`].payload.push(record.payload);
|
|
5446
5446
|
}
|
|
5447
5447
|
});
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
|
|
5452
|
-
|
|
5453
|
-
|
|
5454
|
-
|
|
5455
|
-
|
|
5448
|
+
if (Object.keys(priorityDeleteOperations).length > 0) {
|
|
5449
|
+
const priorityDeleteOperationsResponse = await this.AdminApiClient.post("_action/sync", {
|
|
5450
|
+
data: priorityDeleteOperations
|
|
5451
|
+
});
|
|
5452
|
+
expect(priorityDeleteOperationsResponse.ok()).toBeTruthy();
|
|
5453
|
+
}
|
|
5454
|
+
if (Object.keys(this.restoreSystemConfig).length > 0) {
|
|
5455
|
+
const restoreSystemConfigResponse = await this.AdminApiClient.post(`_action/system-config?_response=detail&salesChannelId=${this.defaultSalesChannel.id}`, {
|
|
5456
|
+
data: this.restoreSystemConfig
|
|
5457
|
+
});
|
|
5458
|
+
expect(restoreSystemConfigResponse.ok()).toBeTruthy();
|
|
5459
|
+
}
|
|
5456
5460
|
if (deleteUserIds.length > 0) {
|
|
5457
5461
|
for (const userId of deleteUserIds) {
|
|
5458
5462
|
await this.AdminApiClient.delete(`user/${userId}`, {});
|