Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions integration-test/src/config/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"validityDateFrom": null,
"validityDateTo": null,
"touchpoint": "ANY",
"paymentType": null,
"paymentType": "ANY",
"abi": 14156,
"pspBusinessName": "psp business name int-test-1",
"cart" : true,
Expand Down Expand Up @@ -87,7 +87,7 @@
"validityDateFrom": null,
"validityDateTo": null,
"touchpoint": "ANY",
"paymentType": null,
"paymentType": "ANY",
"cart" : true,
"onUs" : true
},
Expand Down Expand Up @@ -133,7 +133,7 @@
"type": "GLOBAL",
"validityDateFrom": null,
"validityDateTo": null,
"paymentType": null,
"paymentType": "ANY",
"abi": 14156,
"pspBusinessName": "psp business name int-test-6",
"cart" : true,
Expand All @@ -155,7 +155,7 @@
"type": "GLOBAL",
"validityDateFrom": null,
"validityDateTo": null,
"paymentType": null,
"paymentType": "ANY",
"abi": 14156,
"pspBusinessName": "psp business name int-test-7",
"cart" : true,
Expand All @@ -177,7 +177,7 @@
"type": "GLOBAL",
"validityDateFrom": null,
"validityDateTo": null,
"paymentType": null,
"paymentType": "ANY",
"abi": 14156,
"pspBusinessName": "psp business name int-test-8",
"cart" : true,
Expand All @@ -199,7 +199,7 @@
"type": "GLOBAL",
"validityDateFrom": null,
"validityDateTo": null,
"paymentType": null,
"paymentType": "ANY",
"abi": 14156,
"pspBusinessName": "psp business name int-test-9",
"cart" : true,
Expand Down Expand Up @@ -375,7 +375,7 @@
"validityDateFrom": null,
"validityDateTo": null,
"touchpoint": "ANY",
"paymentType": null,
"paymentType": "ANY",
"abi": 10101,
"pspBusinessName": "ZZZZZZZZZZ",
"cart" : true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ private Iterable<ValidBundle> findValidBundlesMulti(PaymentOptionMulti paymentOp
"Cannot find payment type with name: '" + paymentOptionMulti.getPaymentMethod() + "'");
}

var paymentTypeFilter = isEqualOrNull("paymentType", paymentType.get().getName());
var paymentTypeFilter = isEqualOrAny("paymentType", paymentType.get().getName());
queryResult = and(queryResult, paymentTypeFilter);
}

Expand Down Expand Up @@ -304,7 +304,7 @@ private Iterable<ValidBundle> findValidBundles(PaymentOption paymentOption, bool
"Cannot find payment type with name: '" + paymentOption.getPaymentMethod() + "'");
}

var paymentTypeFilter = isEqualOrNull("paymentType", paymentType.get().getName());
var paymentTypeFilter = isEqualOrAny("paymentType", paymentType.get().getName());
queryResult = and(queryResult, paymentTypeFilter);
}

Expand Down
Loading