Fix typo in test

This commit is contained in:
Marek Wolan
2023-08-10 09:14:45 +01:00
parent 34ff9abd7a
commit e24d4b8890

View File

@@ -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)