You are here

migrate_profile.test in Migrate 6

Tests for profile migration

File

tests/modules/core/migrate_profile.test
View source
<?php

/**
 * @file
 * Tests for profile migration
 *
 */
class MigrateProfileTest extends DrupalWebTestCase {
  function getInfo() {
    return array(
      'name' => t('Migrate Profiles'),
      'description' => t('Test migration support for profiles'),
      'group' => t('Migrate'),
    );
  }
  function setUp() {

    // Somehow, we're running in E_STRICT, and Views generates notices.
    // Also, with PHP 5.3 deprecated notices can get in the way
    error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
    parent::setUp('views', 'schema', 'tw', 'migrate', 'profile');

    // Create and login user
    $migrate_user = $this
      ->drupalCreateUser(array(
      MIGRATE_ACCESS_ADVANCED,
    ));
    $this
      ->drupalLogin($migrate_user);
  }
  function tearDown() {
    parent::tearDown();
  }

  /**
   * Test taxonomy migration
   */
  function testProfile() {

    // migrate_save_content_set(), migrate_save_content_mapping(), migrate_delete_content_set(),
    // migrate_delete_content_mapping()
  }

}

Classes

Namesort descending Description
MigrateProfileTest @file Tests for profile migration