You are here

protected function AssertLegacyTrait::pass in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/KernelTests/AssertLegacyTrait.php \Drupal\KernelTests\AssertLegacyTrait::pass()

Deprecated

Scheduled for removal in Drupal 9.0.0. Use self::assertTrue() instead.

See also

\Drupal\simpletest\TestBase::pass()

3 calls to AssertLegacyTrait::pass()
KernelTestBase::installEntitySchema in core/tests/Drupal/KernelTests/KernelTestBase.php
Installs the storage schema for a specific entity type.
ModuleHandlerTest::testDependencyResolution in core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php
Tests dependency resolution.
ModuleHandlerTest::testUninstallContentDependency in core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php
Tests uninstalling a module that has content.

File

core/tests/Drupal/KernelTests/AssertLegacyTrait.php, line 114
Contains \Drupal\KernelTests\AssertLegacyTrait.

Class

AssertLegacyTrait
Translates Simpletest assertion methods to PHPUnit.

Namespace

Drupal\KernelTests

Code

protected function pass($message) {
  $this
    ->assertTrue(TRUE, $message);
}