You are here

public function ConnectorInfoTest::testGetDependenciesVersionsAsString in TMGMT Translator Smartling 8.4

Same name and namespace in other branches
  1. 8.3 tests/src/Kernel/ConnectorInfoTest.php \Drupal\Tests\tmgmt_smartling\Kernel\ConnectorInfoTest::testGetDependenciesVersionsAsString()

File

tests/src/Kernel/ConnectorInfoTest.php, line 25

Class

ConnectorInfoTest
Test ConnectorInfo class methods.

Namespace

Drupal\Tests\tmgmt_smartling\Kernel

Code

public function testGetDependenciesVersionsAsString() {
  $this
    ->assertTrue(preg_match('/^tmgmt_extension_suit\\/(\\d+\\.x-\\d+\\.\\d+|\\d+\\.x-\\d+\\.x-dev|unknown) tmgmt\\/(\\d+\\.x-\\d+\\.\\d+|\\d+\\.x-\\d+\\.x-dev|unknown)$/', ConnectorInfo::getDependenciesVersionsAsString()) === 1);
}