public function KalturaExistingPartnerTestCase::testAddPartner in Kaltura 7.3
Same name and namespace in other branches
- 7.2 tests/kaltura_exsiting_partner.test \KalturaExistingPartnerTestCase::testAddPartner()
File
- tests/
kaltura_exsiting_partner.test, line 28 - Tests functionality for existing partners.
Class
- KalturaExistingPartnerTestCase
- Ensure that the convertion works properly.
Code
public function testAddPartner() {
$this
->drupalGet('admin/config/media/kaltura');
$edit['new_partner'] = 'existing';
$edit['ex_partner_id'] = '426751';
$edit['ex_email'] = 'kaltura@example.com';
$edit['ex_password'] = 'kalturatests!2';
$edit['terms'] = TRUE;
$this
->drupalPost(NULL, $edit, t('save'));
$this
->assertText(t('Congratulations! You have successfully installed the Kaltura Video Module and registered for a Kaltura Partner ID.'), t('Make sure your installation is complete'));
}