Browse Source

Tests fixed.

pull/362/head
Sebastian Stehle 7 years ago
parent
commit
c7ebf24fd6
  1. 2
      tests/Squidex.Domain.Apps.Entities.Tests/Schemas/Guards/GuardSchemaFieldTests.cs

2
tests/Squidex.Domain.Apps.Entities.Tests/Schemas/Guards/GuardSchemaFieldTests.cs

@ -95,7 +95,7 @@ namespace Squidex.Domain.Apps.Entities.Schemas.Guards
[MemberData(nameof(FieldCommandData))]
public void Commands_should_throw_exception_if_field_not_found<T>(Action<Schema, T> action) where T : FieldCommand, new()
{
var command = new T { FieldId = 4 };
var command = new T { FieldId = 5 };
Assert.Throws<DomainObjectNotFoundException>(() => action(schema_0, command));
}

Loading…
Cancel
Save