mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
fix test
This commit is contained in:
parent
77cac1b03d
commit
0b984caced
@ -105,7 +105,7 @@ public void ErrorForTargetRpcWithNoOwner()
|
|||||||
{
|
{
|
||||||
Assert.Fail("Event should not be invoked with error");
|
Assert.Fail("Event should not be invoked with error");
|
||||||
};
|
};
|
||||||
LogAssert.Expect(LogType.Error, $"TargetRPC System.Void Mirror.Tests.RemoteAttrributeTest.TargetRpcBehaviour::SendInt(System.Int32) was given a null connection, make sure the object has an owner or you pass in the target connection");
|
LogAssert.Expect(LogType.Error, new Regex($".*was given a null connection.*"));
|
||||||
serverComponent.SendInt(someInt);
|
serverComponent.SendInt(someInt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user