function HighWaterTest::assertNodeExists

Same name in other branches
  1. 9 core/modules/migrate/tests/src/Kernel/HighWaterTest.php \Drupal\Tests\migrate\Kernel\HighWaterTest::assertNodeExists()
  2. 10 core/modules/migrate/tests/src/Kernel/HighWaterTest.php \Drupal\Tests\migrate\Kernel\HighWaterTest::assertNodeExists()
  3. 11.x 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));
}

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