You are here

HooksTest.php in Lightning Layout 8.2

File

tests/src/Kernel/HooksTest.php
View source
<?php

namespace Drupal\Tests\lightning_layout\Kernel;

use Drupal\KernelTests\KernelTestBase;

/**
 * Tests Lightning Layout's hook implementations.
 *
 * @group lightning_layout
 */
class HooksTest extends KernelTestBase {

  /**
   * {@inheritdoc}
   */
  protected static $modules = [
    'lightning_layout',
  ];

  /**
   * Tests lightning_layout_block_alter().
   */
  public function testBlockAlter() {
    $this
      ->expectNotToPerformAssertions();
    $blocks = [
      'entity_block:node:uid' => [],
    ];
    lightning_layout_block_alter($blocks);
  }

}

Classes

Namesort descending Description
HooksTest Tests Lightning Layout's hook implementations.