mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
735 B
26 lines
735 B
// =========================================================================
|
|
// ClientKeyGeneratorTests.cs
|
|
// Squidex Headless CMS
|
|
// ==========================================================================
|
|
// Copyright (c) Squidex Group
|
|
// All rights reserved.
|
|
// ==========================================================================
|
|
|
|
using Squidex.Write.Apps;
|
|
using Xunit;
|
|
|
|
namespace Squidex.Write.Tests.Apps
|
|
{
|
|
public class ClientKeyGeneratorTests
|
|
{
|
|
private readonly ClientKeyGenerator sut = new ClientKeyGenerator();
|
|
|
|
[Fact]
|
|
public void Should_create_very_long_client_key()
|
|
{
|
|
var key = sut.GenerateKey();
|
|
|
|
Assert.Equal(44, key.Length);
|
|
}
|
|
}
|
|
}
|
|
|