You are here

scald_youtube.test in Scald YouTube 7

File

scald_youtube.test
View source
<?php

/**
 * @file
 * Tests for scald_youtube.module.
 */

/**
 * Test the Scald YouTube functionality.
 */
class ScaldYouTubeTestCase extends ScaldWebTestCase {

  /**
   * {@inheritdoc}
   */
  public static function getInfo() {
    return array(
      'name' => 'Scald YouTube',
      'description' => 'Test the Scald YouTube functionality.',
      'group' => 'Scald',
    );
  }

  /**
   * {@inheritdoc}
   */
  protected function setup() {
    parent::setUp(array(
      'scald_youtube',
    ));
  }

  /**
   * Test Scald YouTube atom creation via UI.
   */
  public function testScaldYouTubeAtomCreation() {
    $web_user = $this
      ->drupalCreateUser(array(
      'view any atom',
      'create atom of video type',
    ));
    $this
      ->drupalLogin($web_user);
  }

}

Classes

Namesort descending Description
ScaldYouTubeTestCase Test the Scald YouTube functionality.