function TrackChangesTest::assertTermDoesNotExist

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

Assert that term with given title does not exist.

@internal

Parameters

string $property: Property to evaluate.

string $value: Value to evaluate.

1 call to TrackChangesTest::assertTermDoesNotExist()
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 215

Class

TrackChangesTest
Tests migration track changes property.

Namespace

Drupal\Tests\migrate\Kernel

Code

protected function assertTermDoesNotExist(string $property, string $value) : void {
    self::assertFalse($this->termExists($property, $value));
}

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