// Test reading the annotation. There should be two constraints, the defined
// constraint and the automatically added EntityChanged constraint.
$entity_type = $this->entityManager->getDefinition('entity_test_constraints');
- $default_constraints = ['NotNull' => [], 'EntityChanged' => NULL];
+ $default_constraints = [
+ 'NotNull' => [],
+ 'EntityChanged' => NULL,
+ 'EntityUntranslatableFields' => NULL,
+ ];
$this->assertEqual($default_constraints, $entity_type->getConstraints());
// Enable our test module and test extending constraints.