public function ConnectorInfoTest::testGetLibVersion in TMGMT Translator Smartling 8.3
Same name and namespace in other branches
- 8.4 tests/src/Kernel/ConnectorInfoTest.php \Drupal\Tests\tmgmt_smartling\Kernel\ConnectorInfoTest::testGetLibVersion()
File
- tests/
src/ Kernel/ ConnectorInfoTest.php, line 21
Class
- ConnectorInfoTest
- Test ConnectorInfo class methods.
Namespace
Drupal\Tests\tmgmt_smartling\KernelCode
public function testGetLibVersion() {
$this
->assertTrue(preg_match('/(^\\d\\.\\d\\.\\d$)|(^\\d\\.\\d\\.\\d-rc\\d$)/', ConnectorInfo::getLibVersion('system')) === 1);
}