function TrackChangesTest::assertTermExists

Same name in other branches
  1. 9 core/modules/migrate/tests/src/Kernel/TrackChangesTest.php \Drupal\Tests\migrate\Kernel\TrackChangesTest::assertTermExists()
  2. 10 core/modules/migrate/tests/src/Kernel/TrackChangesTest.php \Drupal\Tests\migrate\Kernel\TrackChangesTest::assertTermExists()
  3. 11.x core/modules/migrate/tests/src/Kernel/TrackChangesTest.php \Drupal\Tests\migrate\Kernel\TrackChangesTest::assertTermExists()

Assert that term with given name exists.

Parameters

string $property: Property to evaluate.

string $value: Value to evaluate.

1 call to TrackChangesTest::assertTermExists()
TrackChangesTest::testTrackChanges in core/modules/migrate/tests/src/Kernel/TrackChangesTest.php
Tests track changes property of SqlBase.

File

core/modules/migrate/tests/src/Kernel/TrackChangesTest.php, line 157

Class

TrackChangesTest
Tests migration track changes property.

Namespace

Drupal\Tests\migrate\Kernel

Code

protected function assertTermExists($property, $value) {
    self::assertTrue($this->termExists($property, $value));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.