FormWidgetBrowserTestBase.php in Typed Data API enhancements 8
File
tests/src/Functional/TypedDataFormWidget/FormWidgetBrowserTestBase.php
View source
<?php
namespace Drupal\Tests\typed_data\Functional\TypedDataFormWidget;
use Drupal\Core\TypedData\TypedDataTrait;
use Drupal\Tests\BrowserTestBase;
use Drupal\Tests\typed_data\Traits\BrowserTestHelpersTrait;
use Drupal\typed_data\Widget\FormWidgetManagerTrait;
abstract class FormWidgetBrowserTestBase extends BrowserTestBase {
use BrowserTestHelpersTrait;
use FormWidgetManagerTrait;
use TypedDataTrait;
protected static $modules = [
'typed_data',
'typed_data_widget_test',
];
protected $defaultTheme = 'stark';
public function testIsApplicable() {
$this
->fail('There is no implementation of the mandatory test function: ' . $this
->getName());
}
public function testFormEditing() {
$this
->fail('There is no implementation of the mandatory test function: ' . $this
->getName());
}
public function testValidation() {
$this
->fail('There is no implementation of the mandatory test function: ' . $this
->getName());
}
}