🎨(backend) use object primary key instead of id attribute
Replace id attribute references with object primary key for better code consistency and Django model conventions. requested by @qbey
This commit is contained in:
committed by
aleb_the_flash
parent
9b6b32c3d5
commit
888fbbcd5f
@@ -450,7 +450,7 @@ def test_enter_success(
|
||||
timeout=settings.LOBBY_WAITING_TIMEOUT,
|
||||
)
|
||||
mock_notify.assert_called_once_with(
|
||||
room_name=str(room.id), notification_data={"type": "participantWaiting"}
|
||||
room_name=str(room.pk), notification_data={"type": "participantWaiting"}
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user