hotfix: Claim return shipping

This commit is contained in:
olivermrbl
2021-04-28 16:45:48 +02:00
parent 7cd9fd487e
commit cb0fb757a0
4 changed files with 103 additions and 37 deletions
@@ -94,6 +94,18 @@ module.exports = async (connection, data = {}) => {
data: {},
});
await manager.insert(ShippingOption, {
id: "test-return-option",
name: "Test ret",
profile_id: defaultProfile.id,
region_id: "test-region",
provider_id: "test-ful",
data: {},
price_type: "flat_rate",
amount: 1000,
is_return: true,
});
const order = manager.create(Order, {
id: "test-order",
customer_id: "test-customer",