function TrackChangesTest::assertTermExists
Same name in other branches
- 9 core/modules/migrate/tests/src/Kernel/TrackChangesTest.php \Drupal\Tests\migrate\Kernel\TrackChangesTest::assertTermExists()
- 8.9.x core/modules/migrate/tests/src/Kernel/TrackChangesTest.php \Drupal\Tests\migrate\Kernel\TrackChangesTest::assertTermExists()
- 11.x core/modules/migrate/tests/src/Kernel/TrackChangesTest.php \Drupal\Tests\migrate\Kernel\TrackChangesTest::assertTermExists()
Assert that term with given name exists.
@internal
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 201
Class
- TrackChangesTest
- Tests migration track changes property.
Namespace
Drupal\Tests\migrate\KernelCode
protected function assertTermExists(string $property, string $value) : void {
self::assertTrue($this->termExists($property, $value));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.