protected function TrackChangesTest::assertTermExists in Drupal 9
Same name and namespace in other branches
- 8 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\KernelCode
protected function assertTermExists($property, $value) {
self::assertTrue($this
->termExists($property, $value));
}