test error
This commit is contained in:
@@ -54,7 +54,6 @@ class EligibilityCheckService(BaseService):
|
||||
#if "error" in response or response.get("status") != 200:
|
||||
# return jsonify({"message": "RACCheck failed"}), 400
|
||||
|
||||
|
||||
offers = [
|
||||
{
|
||||
"offerId": "Offer1",
|
||||
|
||||
@@ -17,8 +17,10 @@ class Transaction(db.Model):
|
||||
|
||||
@classmethod
|
||||
def create_transaction(cls, id, account_id, type, channel):
|
||||
if cls.query.filter_by(id=id).first():
|
||||
raise ValueError("Duplicate Transaction")
|
||||
|
||||
# not sure why we have tis test yet
|
||||
# if cls.query.filter_by(id=id).first():
|
||||
# raise ValueError("Duplicate Transaction")
|
||||
|
||||
transaction = cls(
|
||||
id=id,
|
||||
|
||||
Reference in New Issue
Block a user