fix: improve maintenance and synchronize live conversations
This commit is contained in:
1 parent
bb541bd212
commit
ef86a5d3af
297 files changed
+2983
-1274
No files matched your search
@@ -17,7 +17,6 @@ limitations under the License.
|
||||
import pytest
|
||||
from app.models.user import User
|
||||
from app.repositories.user import UserRepository
|
||||
from uuid import UUID, uuid4
|
||||
from app.models.organization import Organization
|
||||
|
||||
@pytest.fixture
|
||||
@@ -81,13 +80,13 @@ def test_get_users_by_organization(user_repo, test_organization_id):
|
||||
"""Test retrieving all users for an organization"""
|
||||
# Create multiple users
|
||||
hashed_password = User.get_password_hash("testpassword")
|
||||
user1 = user_repo.create_user(
|
||||
user_repo.create_user(
|
||||
email="user1@example.com",
|
||||
hashed_password=hashed_password,
|
||||
full_name="User One",
|
||||
organization_id=test_organization_id
|
||||
)
|
||||
user2 = user_repo.create_user(
|
||||
user_repo.create_user(
|
||||
email="user2@example.com",
|
||||
hashed_password=hashed_password,
|
||||
full_name="User Two",
|
||||
|
||||
Reference in new issue
Block a user