protected function LingotekFunctionalTest::connectToLingotek in Lingotek Translation 7.6
Same name and namespace in other branches
- 7.7 tests/lingotek.base.test \LingotekFunctionalTest::connectToLingotek()
- 7.2 tests/lingotek.base.test \LingotekFunctionalTest::connectToLingotek()
- 7.3 tests/lingotek.base.test \LingotekFunctionalTest::connectToLingotek()
- 7.4 tests/lingotek.base.test \LingotekFunctionalTest::connectToLingotek()
- 7.5 tests/lingotek.base.test \LingotekFunctionalTest::connectToLingotek()
Sets up the association between this test instance and the Lingotek system.
1 call to LingotekFunctionalTest::connectToLingotek()
- LingotekFunctionalTest::setUp in tests/
lingotek.base.test - Does general setup for all Lingotek tests.
File
- tests/
lingotek.base.test, line 79 - Declares a parent class to be used with Lingotek automated tests.
Class
- LingotekFunctionalTest
- A parent class for Lingotek autoamted tests.
Code
protected function connectToLingotek() {
$this
->drupalLogin($this->privileged_user);
$form_values = array(
'lingotek_lid' => self::LINGOTEK_USERNAME,
'lingotek_pid' => self::LINGOTEK_PASSWORD,
);
$this
->drupalPost('admin/config/lingotek/account-settings', $form_values, t('Next'));
$this
->drupalLogout();
}