FarmBlockTest.php in farmOS 2.x
Namespace
Drupal\Tests\farm_ui_theme\FunctionalFile
modules/core/ui/theme/tests/src/Functional/FarmBlockTest.phpView 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
Name | Description |
---|---|
FarmBlockTest | Tests the "Powered by farmOS" block. |