You are here

function KalturaExistingPartnerTestCase::testAddPartner in Kaltura 7.2

Same name and namespace in other branches
  1. 7.3 tests/kaltura_exsiting_partner.test \KalturaExistingPartnerTestCase::testAddPartner()

File

tests/kaltura_exsiting_partner.test, line 24

Class

KalturaExistingPartnerTestCase
Ensure that the convertion works properly.

Code

function testAddPartner() {
  $this
    ->drupalGet('admin/config/kaltura/general');
  $edit['new_partner'] = 'existing';
  $edit['ex_partner_id'] = '426751';
  $edit['ex_email'] = 'kaltrura@example.com';
  $edit['ex_password'] = 'kalturatests!2';
  $edit['terms'] = TRUE;
  $this
    ->drupalPost(NULL, $edit, t('submit'));
  $this
    ->assertText(t('Your partner details were imported successfully.'), t('Make sure instaltion is complate'));
}