29 lines
498 B
PHP
29 lines
498 B
PHP
<?php
|
|
|
|
namespace Drupal\Tests\farm_ui_theme\Functional;
|
|
|
|
use Drupal\Tests\farm\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');
|
|
}
|
|
|
|
}
|