You are here

public function KalturaPartnerTestCase::setUp in Kaltura 7.3

Same name and namespace in other branches
  1. 7.2 tests/kaltura_partner.test \KalturaPartnerTestCase::setUp()

Sets up the required environment.

Overrides DrupalWebTestCase::setUp

File

tests/kaltura_partner.test, line 27
Tests functionality for creating partners.

Class

KalturaPartnerTestCase
Ensure that adding partner info works properly.

Code

public function setUp() {
  parent::setUp('kaltura');
  libraries_load('KalturaClient');
  $admin_user = $this
    ->drupalCreateUser(array(
    'administer site configuration',
    'administer kaltura',
  ));
  $this
    ->drupalLogin($admin_user);
}