You are here

protected function HighWaterTest::assertNodeExists in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate/tests/src/Kernel/HighWaterTest.php \Drupal\Tests\migrate\Kernel\HighWaterTest::assertNodeExists()

Assert that node with given title exists.

Parameters

string $title: Title of the node.

4 calls to HighWaterTest::assertNodeExists()
HighWaterTest::testHighWater in core/modules/migrate/tests/src/Kernel/HighWaterTest.php
Tests high water property of SqlBase.
HighWaterTest::testHighWaterUpdate in core/modules/migrate/tests/src/Kernel/HighWaterTest.php
Tests high water property of SqlBase when rows marked for update.
HighWaterTest::testNullHighwater in core/modules/migrate/tests/src/Kernel/HighWaterTest.php
Tests that deleting the high water value causes all rows to be reimported.
HighWaterTest::testZeroHighwater in core/modules/migrate/tests/src/Kernel/HighWaterTest.php
Tests that the high water value can be 0.

File

core/modules/migrate/tests/src/Kernel/HighWaterTest.php, line 269

Class

HighWaterTest
Tests migration high water property.

Namespace

Drupal\Tests\migrate\Kernel

Code

protected function assertNodeExists($title) {
  self::assertTrue($this
    ->nodeExists($title));
}