From eb51696c7e72c7c53ffa26850faca20402fa9236 Mon Sep 17 00:00:00 2001 From: Al Ganiev Date: Sun, 21 Apr 2019 16:21:35 +1000 Subject: [PATCH] Changed plugin node to plugins --- .../ElFinderConfigurationReaderTest.php | 12 ++++++------ tests/DependencyInjection/ConfigurationLoadTest.php | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/Configuration/ElFinderConfigurationReaderTest.php b/tests/Configuration/ElFinderConfigurationReaderTest.php index b282a00..1392a2a 100644 --- a/tests/Configuration/ElFinderConfigurationReaderTest.php +++ b/tests/Configuration/ElFinderConfigurationReaderTest.php @@ -68,7 +68,7 @@ private function getConfigurationReader($attributesObject) 'default' => array( 'cors_support' => '', 'connector' => array( - 'debug' => '', 'binds' => '', 'plugin' => '', + 'debug' => '', 'binds' => '', 'plugins' => '', 'roots' => array( 'uploads' => array( 'flysystem' => array('enabled' => false), @@ -79,7 +79,7 @@ private function getConfigurationReader($attributesObject) 'driver' => 'LocalFileSystem', 'glide_url' => '', 'glide_key' => '', - 'plugin' => '', + 'plugins' => '', 'start_path' => '', 'encoding' => '', 'alias' => '', @@ -118,7 +118,7 @@ private function getConfigurationReader($attributesObject) 'with_path_with_url' => array( 'cors_support' => true, 'connector' => array( - 'debug' => '', 'binds' => '', 'plugin' => '', + 'debug' => '', 'binds' => '', 'plugins' => '', 'roots' => array( 'uploads' => array( 'flysystem' => array('enabled' => false), @@ -130,7 +130,7 @@ private function getConfigurationReader($attributesObject) 'url' => 'home-url', 'glide_url' => '', 'glide_key' => '', - 'plugin' => '', + 'plugins' => '', 'driver_options' => '', 'start_path' => '', 'encoding' => '', @@ -170,7 +170,7 @@ private function getConfigurationReader($attributesObject) 'without_path_with_url' => array( 'cors_support' => true, 'connector' => array( - 'debug' => '', 'binds' => '', 'plugin' => '', + 'debug' => '', 'binds' => '', 'plugins' => '', 'roots' => array( 'uploads' => array( 'flysystem' => array('enabled' => false), @@ -182,7 +182,7 @@ private function getConfigurationReader($attributesObject) 'url' => 'home-url-without-path', 'glide_url' => '', 'glide_key' => '', - 'plugin' => '', + 'plugins' => '', 'driver_options' => '', 'start_path' => '', 'encoding' => '', diff --git a/tests/DependencyInjection/ConfigurationLoadTest.php b/tests/DependencyInjection/ConfigurationLoadTest.php index da06299..5aa7db4 100644 --- a/tests/DependencyInjection/ConfigurationLoadTest.php +++ b/tests/DependencyInjection/ConfigurationLoadTest.php @@ -47,7 +47,7 @@ public function testSupportsAllConfigFormats($path) 'connector' => array( 'debug' => true, 'binds' => array(), - 'plugin' => array(), + 'plugins' => array(), 'roots' => array( 'uploads' => array( 'driver' => 'LocalFileSystem', @@ -58,7 +58,7 @@ public function testSupportsAllConfigFormats($path) 'i18n_folder_name' => false, 'locale' => '', 'disabled_commands' => array(), - 'plugin' => array(), + 'plugins' => array(), 'driver_options' => array(), 'path' => 'uploads', 'show_hidden' => true,