diff --git a/src/_zkapauthorizer/tests/test_client_resource.py b/src/_zkapauthorizer/tests/test_client_resource.py index 8a24a2c84df5b8225b0772540801bd1f5a1c59cd..402ea78c41cc0cbd449858c7895f50295d5248f1 100644 --- a/src/_zkapauthorizer/tests/test_client_resource.py +++ b/src/_zkapauthorizer/tests/test_client_resource.py @@ -130,6 +130,9 @@ from ..model import ( VoucherStore, memory_connect, ) +from ..controller import ( + NUM_TOKENS, +) from ..resource import ( from_configuration, ) @@ -763,9 +766,7 @@ class VoucherTests(TestCase): created=Equals(now), state=Equals(Redeemed( finished=now, - # Value duplicated from PaymentController.redeem default. - # Should do this better. - token_count=100, + token_count=NUM_TOKENS, )), ), )