public function MultiversionManagerTest::assertRevisionId in Multiversion 8
1 call to MultiversionManagerTest::assertRevisionId()
- MultiversionManagerTest::testRevisionIdGeneration in tests/
src/ Functional/ MultiversionManagerTest.php
File
- tests/
src/ Functional/ MultiversionManagerTest.php, line 37
Class
- MultiversionManagerTest
- Test the MultiversionManager class.
Namespace
Drupal\Tests\multiversion\FunctionalCode
public function assertRevisionId($index, $value, $message) {
$this
->assertTrue(preg_match('/' . $index . '\\-' . self::REVISION_HASH_REGEX . '/', $value), $message);
}