|
|
@ -36,7 +36,7 @@ namespace Squidex.Domain.Apps.Entities.Apps.Guards |
|
|
var clients_1 = clients_0.Add("android", "secret"); |
|
|
var clients_1 = clients_0.Add("android", "secret"); |
|
|
|
|
|
|
|
|
ValidationAssert.Throws(() => GuardAppClients.CanAttach(clients_1, command), |
|
|
ValidationAssert.Throws(() => GuardAppClients.CanAttach(clients_1, command), |
|
|
new ValidationError("Client id already exists.", "Id")); |
|
|
new ValidationError("A client with id 'android' has already been added.")); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
[Fact] |
|
|
[Fact] |
|
|
|