test(test_sqlalchemy_repository): Refactors mock user creation in tests
Updates the mock user setup in unit tests to use actual Account and Tenant instances instead of MagicMock. This change enhances realism in tests by reflecting actual class structures and relationships, aiding in more accurate test outcomes. Signed-off-by: -LAN- <laipz8200@outlook.com>pull/19430/head
parent
efcad48e91
commit
38af41e3be
Loading…
Reference in New Issue