You are here

protected function TestBase::assertNoViolations in Double Field 4.x

Same name and namespace in other branches
  1. 8.3 tests/src/Functional/TestBase.php \Drupal\Tests\double_field\Functional\TestBase::assertNoViolations()

Passes if no violations were found.

3 calls to TestBase::assertNoViolations()
FieldTypeTest::testFieldSettings in tests/src/Functional/FieldTypeTest.php
Test field settings.
FieldTypeTest::testFieldStorageSettings in tests/src/Functional/FieldTypeTest.php
Test field storage settings.
FieldTypeTest::testRequiredOptions in tests/src/Functional/FieldTypeTest.php
Test required options.

File

tests/src/Functional/TestBase.php, line 322

Class

TestBase
Tests the creation of text fields.

Namespace

Drupal\Tests\double_field\Functional

Code

protected function assertNoViolations(array $values) : void {
  $this
    ->assertViolations($values, []);
}