You are here

PmDashboardControllerTest.php in Drupal PM (Project Management) 4.x

Namespace

Drupal\pm\Tests

File

tests/Controller/PmDashboardControllerTest.php
View source
<?php

namespace Drupal\pm\Tests;

use Drupal\Tests\BrowserTestBase;

/**
 * Provides automated tests for the pm module.
 */
class PmDashboardControllerTest extends BrowserTestBase {

  /**
   * Drupal\Core\Entity\EntityTypeManagerInterface definition.
   *
   * @var \Drupal\Core\Entity\EntityTypeManagerInterface
   */
  protected $entityTypeManager;

  /**
   * Drupal\Core\Extension\ModuleHandlerInterface definition.
   *
   * @var \Drupal\Core\Extension\ModuleHandlerInterface
   */
  protected $moduleHandler;

  /**
   * Drupal\Core\Logger\LoggerChannelInterface definition.
   *
   * @var \Drupal\Core\Logger\LoggerChannelInterface
   */
  protected $loggerChannelDefault;

  /**
   * {@inheritdoc}
   */
  public static function getInfo() {
    return [
      'name' => "pm PmDashboardController's controller functionality",
      'description' => 'Test Unit for module pm and controller PmDashboardController.',
      'group' => 'Other',
    ];
  }

  /**
   * Tests pm functionality.
   */
  public function testPmDashboardController() {

    // Check that the basic functions of module pm.
    $this
      ->assertEquals(TRUE, TRUE, 'Test Unit Generated via Drupal Console.');
  }

}

Classes

Namesort descending Description
PmDashboardControllerTest Provides automated tests for the pm module.