diff --git a/facets.libraries.yml b/facets.libraries.yml
index 23cbc63..4e5980e 100644
--- a/facets.libraries.yml
+++ b/facets.libraries.yml
@@ -37,4 +37,4 @@ drupal.facets.dropdown-widget:
dependencies:
- core/jquery
- core/drupal
- - core/jquery.once
\ No newline at end of file
+ - core/jquery.once
diff --git a/tests/src/Unit/Plugin/widget/CheckboxWidgetTest.php b/tests/src/Unit/Plugin/widget/CheckboxWidgetTest.php
index 8fc63da..1683f9f 100644
--- a/tests/src/Unit/Plugin/widget/CheckboxWidgetTest.php
+++ b/tests/src/Unit/Plugin/widget/CheckboxWidgetTest.php
@@ -97,7 +97,7 @@ class CheckboxWidgetTest extends UnitTestCase {
* @return \Drupal\Component\Render\FormattableMarkup
* Formattable markup object for link.
*/
- private function buildLinkAssertion($text, $count = 0, $active = FALSE, $show_numbers = TRUE) {
+ protected function buildLinkAssertion($text, $count = 0, $active = FALSE, $show_numbers = TRUE) {
$text = new FormattableMarkup('@text', ['@text' => $text, '@count' => $count]);
if ($show_numbers !== FALSE) {
$text->string .= ' (@count)';
diff --git a/tests/src/Unit/Plugin/widget/DropdownWidgetTest.php b/tests/src/Unit/Plugin/widget/DropdownWidgetTest.php
index 4eef01f..9102f26 100644
--- a/tests/src/Unit/Plugin/widget/DropdownWidgetTest.php
+++ b/tests/src/Unit/Plugin/widget/DropdownWidgetTest.php
@@ -97,7 +97,7 @@ class DropdownWidgetTest extends UnitTestCase {
* @return \Drupal\Component\Render\FormattableMarkup
* Formattable markup object for link.
*/
- private function buildLinkAssertion($text, $count = 0, $active = FALSE, $show_numbers = TRUE) {
+ protected function buildLinkAssertion($text, $count = 0, $active = FALSE, $show_numbers = TRUE) {
$text = new FormattableMarkup('@text', ['@text' => $text, '@count' => $count]);
if ($show_numbers !== FALSE) {
$text->string .= ' (@count)';
diff --git a/tests/src/Unit/Plugin/widget/LinksWidgetTest.php b/tests/src/Unit/Plugin/widget/LinksWidgetTest.php
index baee5ab..08a6f75 100644
--- a/tests/src/Unit/Plugin/widget/LinksWidgetTest.php
+++ b/tests/src/Unit/Plugin/widget/LinksWidgetTest.php
@@ -227,7 +227,7 @@ class LinksWidgetTest extends UnitTestCase {
* @return \Drupal\Component\Render\FormattableMarkup
* Formattable markup object for link.
*/
- private function buildLinkAssertion($text, $count = 0, $active = FALSE, $show_numbers = TRUE) {
+ protected function buildLinkAssertion($text, $count = 0, $active = FALSE, $show_numbers = TRUE) {
$text = new FormattableMarkup('@text', ['@text' => $text, '@count' => $count]);
if ($show_numbers !== FALSE) {
$text->string .= ' (@count)';