scald_youtube.test in Scald YouTube 7
Tests for scald_youtube.module.
File
scald_youtube.testView 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
Name![]() |
Description |
---|---|
ScaldYouTubeTestCase | Test the Scald YouTube functionality. |