feat(api): add account workspaces and signed content events
This commit is contained in:
1 parent
937b774a93
commit
7b8d61d1ba
63 files changed
+5407
-370
No files matched your search
@@ -0,0 +1,14 @@
|
||||
using System.Text.Json;
|
||||
using WebDrop.Api;
|
||||
|
||||
namespace WebDrop.Api.Tests;
|
||||
|
||||
public sealed class ChannelAccessContractTests
|
||||
{
|
||||
[Fact]
|
||||
public void GeneratedJsonDefaultsDomainEnvelopesForUnencryptedInvitations()
|
||||
{
|
||||
var request = JsonSerializer.Deserialize("""{"username":"member","payload":"opaque-grant"}""", ApiJson.Default.InvitationRequest)!;
|
||||
Assert.Null(request.DomainEnvelopes);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user