Skip to content

Commit 3939f31

Browse files
fix
Adjusting a test for the updated network log header.
1 parent 2dac37c commit 3939f31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.unity.netcode.gameobjects/Tests/Runtime/DistributedAuthority/OwnershipPermissionsTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ public IEnumerator ChangeOwnershipWithoutObservers()
445445
authorityInstance.ChangeOwnership(otherClient.LocalClientId);
446446
var senderId = authority.LocalClientId;
447447
var receiverId = otherClient.LocalClientId;
448-
LogAssert.Expect(LogType.Warning, $"[Session-Owner Sender={senderId}] [Invalid Owner] Cannot send Ownership change as client-{receiverId} cannot see {authorityInstance.name}! Use NetworkShow first.");
448+
LogAssert.Expect(LogType.Warning, $"[Netcode-Session-Owner Sender={senderId}] [Invalid Owner] Cannot send Ownership change as client-{receiverId} cannot see {authorityInstance.name}! Use NetworkShow first.");
449449
Assert.True(authorityInstance.IsOwner, $"[Ownership Check] Client-{senderId} should still own this object!");
450450

451451
// Now re-add the client to the Observers list and try to change ownership

0 commit comments

Comments
 (0)