diff --git a/make_post_sell/tests/test_integration.py b/make_post_sell/tests/test_integration.py index 96f33f8..3c2a032 100644 --- a/make_post_sell/tests/test_integration.py +++ b/make_post_sell/tests/test_integration.py @@ -1762,6 +1762,8 @@ class TestCryptoPaymentIntegration(DatabaseIntegrationTests): # Create crypto payment payment = CryptoPayment( invoice=invoice, + user=user, + shop=shop, address="test_xmr_address", account_index=0, subaddress_index=1, @@ -1836,6 +1838,8 @@ class TestCryptoPaymentIntegration(DatabaseIntegrationTests): # Create crypto payment with refund address payment = CryptoPayment( invoice=invoice, + user=user, + shop=shop, address="payment_address", account_index=0, subaddress_index=2, @@ -1892,6 +1896,8 @@ class TestCryptoPaymentIntegration(DatabaseIntegrationTests): # Create expired payment expired_payment = CryptoPayment( invoice=invoice, + user=user, + shop=shop, address="expired_address", account_index=0, subaddress_index=3, @@ -1907,6 +1913,8 @@ class TestCryptoPaymentIntegration(DatabaseIntegrationTests): # Create valid payment valid_payment = CryptoPayment( invoice=invoice, + user=user, + shop=shop, address="valid_address", account_index=0, subaddress_index=4, @@ -1973,6 +1981,8 @@ class DogecoinPaymentIntegration(DatabaseIntegrationTests): # Create Dogecoin payment doge_payment = CryptoPayment( invoice=invoice, + user=user, + shop=shop, address="DQA4nJFciD9EhtMTZXDJYH6pxTSYrn4wFp", # Example DOGE address account_index=0, # Not used for DOGE subaddress_index=0, # Not used for DOGE @@ -2050,6 +2060,8 @@ class DogecoinPaymentIntegration(DatabaseIntegrationTests): doge_payment = CryptoPayment( invoice=invoice, + user=user, + shop=shop, address="DPayment123456789", account_index=0, subaddress_index=0, @@ -2104,6 +2116,8 @@ class DogecoinPaymentIntegration(DatabaseIntegrationTests): # Create expired DOGE payment expired_payment = CryptoPayment( invoice=invoice, + user=user, + shop=shop, address="DExpired123456789", account_index=0, subaddress_index=0,