tests/src/Kernel/ValidatorsTest.php | 19 +++----------------
1 file changed, 3 insertions(+), 16 deletions(-)
diff --git a/tests/src/Kernel/ValidatorsTest.php b/tests/src/Kernel/ValidatorsTest.php
index c3afad2..9d7fa61 100644
--- a/tests/src/Kernel/ValidatorsTest.php
+++ b/tests/src/Kernel/ValidatorsTest.php
@@ -37,28 +37,15 @@ class ValidatorsTest extends CKEditor5CoreValidatorsTest {
* {@inheritdoc}
*/
public function provider(): array {
- $linkit_test_cases_toolbar_settings = ['items' => []];
+ $linkit_test_cases_toolbar_settings = ['items' => ['link']];
$data = [];
- $data['INVALID: installing the linkit module without configuring the existing text editors'] = [
+ $data['VALID: installing the linkit module without configuring the existing text editors'] = [
'settings' => [
'toolbar' => $linkit_test_cases_toolbar_settings,
'plugins' => [],
],
- 'violations' => [
- 'settings.plugins.linkit_extension' => 'Configuration for the enabled plugin "Linkit" (linkit_extension) is missing.',
- ],
- ];
- $data['INVALID: empty configuration'] = [
- 'settings' => [
- 'toolbar' => $linkit_test_cases_toolbar_settings,
- 'plugins' => [
- 'linkit_extension' => [],
- ],
- ],
- 'violations' => [
- 'settings.plugins.linkit_extension' => 'Configuration for the enabled plugin "Linkit" (linkit_extension) is missing.',
- ],
+ 'violations' => [],
];
$data['INVALID: linkit — invalid manually created configuration'] = [
'settings' => [