function PendingUpdatesValidatorTest::testNoPendingUpdates

Same name and namespace in other branches
  1. 11.x core/modules/package_manager/tests/src/Kernel/PendingUpdatesValidatorTest.php \Drupal\Tests\package_manager\Kernel\PendingUpdatesValidatorTest::testNoPendingUpdates()

Tests that no error is raised if there are no pending updates.

File

core/modules/package_manager/tests/src/Kernel/PendingUpdatesValidatorTest.php, line 37

Class

PendingUpdatesValidatorTest
Tests Pending Updates Validator.

Namespace

Drupal\Tests\package_manager\Kernel

Code

public function testNoPendingUpdates() : void {
  $this->assertStatusCheckResults([]);
  $this->assertResults([], PreCreateEvent::class);
}

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