You are here

RavenTest.php in Raven: Sentry Integration 8

Namespace

Drupal\raven\Tests

File

src/Tests/RavenTest.php
View 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'));
  }

}

Classes

Namesort descending Description
RavenTest Tests Raven module.