public function SliderWidgetTest::setUp in Facets 8
Sets up the container and other variables used in all the tests.
Overrides WidgetTestBase::setUp
1 call to SliderWidgetTest::setUp()
- RangeSliderWidgetTest::setUp in modules/
facets_range_widget/ tests/ src/ Unit/ Plugin/ widget/ RangeSliderWidgetTest.php - Sets up the container and other variables used in all the tests.
1 method overrides SliderWidgetTest::setUp()
- RangeSliderWidgetTest::setUp in modules/
facets_range_widget/ tests/ src/ Unit/ Plugin/ widget/ RangeSliderWidgetTest.php - Sets up the container and other variables used in all the tests.
File
- modules/
facets_range_widget/ tests/ src/ Unit/ Plugin/ widget/ SliderWidgetTest.php, line 24
Class
- SliderWidgetTest
- Unit test for widget.
Namespace
Drupal\Tests\facets_range_widget\Unit\Plugin\widgetCode
public function setUp() {
parent::setUp();
$this->widget = new SliderWidget([], 'slider_widget', []);
}