From e24d4b88900a6667df725c4da7f95ac71f92e42e Mon Sep 17 00:00:00 2001 From: Marek Wolan Date: Thu, 10 Aug 2023 09:14:45 +0100 Subject: [PATCH] Fix typo in test --- tests/unit_tests/_primaite/_simulator/_domain/test_account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit_tests/_primaite/_simulator/_domain/test_account.py b/tests/unit_tests/_primaite/_simulator/_domain/test_account.py index 3a2a5903..b5632ea7 100644 --- a/tests/unit_tests/_primaite/_simulator/_domain/test_account.py +++ b/tests/unit_tests/_primaite/_simulator/_domain/test_account.py @@ -4,7 +4,7 @@ from primaite.simulator.domain.account import Account, AccountType def test_account_serialise(): """Test that an account can be serialised. If pydantic throws error then this test fails.""" - acct = Account(username="Jake", password="JakePass1!", account_type=AccountType.user) + acct = Account(username="Jake", password="JakePass1!", account_type=AccountType.USER) serialised = acct.model_dump_json() print(serialised)