RavenTest.php in Raven: Sentry Integration 8
Definition of Drupal\raven\Tests\RavenTest.
Namespace
Drupal\raven\TestsFile
src/Tests/RavenTest.phpView source
<?php
/**
* @file
* Definition of Drupal\raven\Tests\RavenTest.
*/
namespace Drupal\raven\Tests;
use Drupal\simpletest\WebTestBase;
/**
* Tests Raven module.
*
* @group raven
*/
class RavenTest extends WebTestBase {
/**
* Modules to enable.
*
* @var array
*/
public static $modules = [
'raven',
];
/**
* Tests Raven module configuration UI.
*/
function testRavenConfig() {
$admin_user = $this
->drupalCreateUser([
'administer site configuration',
]);
$this
->drupalLogin($admin_user);
$this
->drupalGet('admin/config/development/raven');
$this
->drupalPostForm(NULL, array(), t('Save configuration'));
}
}