Same filename and directory in other branches
- 4.0.x modules/action_example/tests/src/Functional/ActionExampleTest.php
Namespace
Drupal\Tests\theming_example\Functional
File
-
modules/action_example/tests/src/Functional/ActionExampleTest.php
View source
<?php
namespace Drupal\Tests\theming_example\Functional;
use Drupal\Tests\examples\Functional\ExamplesBrowserTestBase;
class ActionExampleTest extends ExamplesBrowserTestBase {
protected $defaultTheme = 'stark';
protected static $modules = [
'action_example',
];
protected $profile = 'minimal';
public function testActionExample() {
$admin_user = $this->drupalCreateUser([
'administer actions',
]);
$this->drupalLogin($admin_user);
$this->drupalGet('/admin/config/system/actions');
$this->assertSession()
->pageTextContains('An action that does nothing');
}
}
Classes
| Title |
Deprecated |
Summary |
| ActionExampleTest |
|
Default test case for the action_example module. |