function UpdateSemverCoreTest::testDevNoReleaseDate

Same name in other branches
  1. 10 core/modules/update/tests/src/Functional/UpdateSemverCoreTest.php \Drupal\Tests\update\Functional\UpdateSemverCoreTest::testDevNoReleaseDate()

Tests when a dev release does not have a date.

File

core/modules/update/tests/src/Functional/UpdateSemverCoreTest.php, line 119

Class

UpdateSemverCoreTest
Tests edge cases of the Available Updates report UI.

Namespace

Drupal\Tests\update\Functional

Code

public function testDevNoReleaseDate() : void {
    $this->setProjectInstalledVersion('8.0.x-dev');
    $this->refreshUpdateStatus([
        $this->updateProject => 'dev-no-date',
    ]);
}

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