Files
libremetaverse/LibreMetaverse.RLV.Tests/Restrictions/StartImRestrictionTests.cs
nooperation d905210ecf Initial commit of LibreMetaverse.RLV and LibreMetaverse.RLV.Tests.
This library provides RLV command processing and ease of use for checking current RLV permissions and restrictions
2025-08-17 19:55:33 -04:00

19 lines
473 B
C#

namespace LibreMetaverse.RLV.Tests.Restrictions
{
public class StartImRestrictionTests : RestrictionsBase
{
#region @startim=<y/n>
[Fact]
public async Task CanStartIM()
{
var userId1 = new Guid("00000000-0000-4000-8000-000000000000");
await _rlv.ProcessMessage("@startim=n", _sender.Id, _sender.Name);
Assert.False(_rlv.Permissions.CanStartIM(userId1));
}
#endregion
}
}