You are here

FarmBlockTest.php in farmOS 2.x

File

modules/core/ui/theme/tests/src/Functional/FarmBlockTest.php
View source
<?php

namespace Drupal\Tests\farm_ui_theme\Functional;

use Drupal\Tests\farm_test\Functional\FarmBrowserTestBase;

/**
 * Tests the "Powered by farmOS" block.
 *
 * @group farm
 */
class FarmBlockTest extends FarmBrowserTestBase {

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

  /**
   * Test that the "Powered by farmOS" block is visible.
   */
  public function testFarmBlock() {
    $this
      ->assertSession()
      ->pageTextContains('Powered by farmOS');
  }

}

Classes

Namesort descending Description
FarmBlockTest Tests the "Powered by farmOS" block.