public function BaseApiAbstractTest::setUp in TMGMT Translator Smartling 8.3
Same name and namespace in other branches
- 8.4 vendor/smartling/api-sdk-php/tests/unit/BaseApiAbstractTest.php \Smartling\Tests\Unit\BaseApiAbstractTest::setUp()
Sets up the fixture, for example, opens a network connection. This method is called before a test is executed.
Overrides ApiTestAbstract::setUp
File
- vendor/
smartling/ api-sdk-php/ tests/ unit/ BaseApiAbstractTest.php, line 10
Class
Namespace
Smartling\Tests\UnitCode
public function setUp() {
parent::setUp();
// Restore user agent specific static values.
BaseApiAbstract::setCurrentClientId(BaseApiAbstract::CLIENT_LIB_ID_SDK);
BaseApiAbstract::setCurrentClientVersion(BaseApiAbstract::CLIENT_LIB_ID_VERSION);
BaseApiAbstract::setCurrentClientUserAgentExtension(BaseApiAbstract::CLIENT_USER_AGENT_EXTENSION);
}