|
8 | 8 |
|
9 | 9 | /**
|
10 | 10 | * Class ConfigurationLoadTest.
|
11 |
| - * |
12 |
| - * @package FM\ElfinderBundle\Tests\DependencyInjection |
13 | 11 | */
|
14 | 12 | class ConfigurationLoadTest extends AbstractExtensionConfigurationTestCase
|
15 | 13 | {
|
@@ -108,22 +106,55 @@ public function testSupportsAllConfigFormats($path)
|
108 | 106 | 'create' => array(),
|
109 | 107 | 'extract' => array(),
|
110 | 108 | ),
|
111 |
| - 'glide_url' => '', |
112 |
| - 'glide_key' => '', |
113 |
| - 'alias' => 'foo', |
114 |
| - 'tree_deep' => 1, |
115 |
| - 'upload_allow' => array('image/png', 'image/jpg', 'image/jpeg'), |
116 |
| - 'upload_order' => array('deny', 'allow'), |
117 |
| - 'defaults' => array('read' => true, 'write' => true), |
118 |
| - 'upload_deny' => array('all'), |
119 |
| - 'upload_max_size' => 0, |
120 |
| - 'dropbox_settings' => array( |
121 |
| - 'consumer_key' => 'some_consumer', |
122 |
| - 'consumer_secret' => 'con$umer', |
| 109 | + 'glide_url' => '', |
| 110 | + 'glide_key' => '', |
| 111 | + 'alias' => 'foo', |
| 112 | + 'tree_deep' => 1, |
| 113 | + 'upload_allow' => array('image/png', 'image/jpg', 'image/jpeg'), |
| 114 | + 'upload_order' => array('deny', 'allow'), |
| 115 | + 'defaults' => array('read' => true, 'write' => true), |
| 116 | + 'upload_deny' => array('all'), |
| 117 | + 'upload_max_size' => 0, |
| 118 | + 'dropbox2_settings' => array( |
| 119 | + 'aliasFormat' => '%s@Dropbox', |
| 120 | + 'path' => '/', |
| 121 | + 'separator' => '/', |
| 122 | + 'acceptedName' => '%s@Dropbox', |
| 123 | + 'rootCssClass' => 'elfinder-navbar-root-dropbox', |
| 124 | + 'getThumbSize' => 'medium', |
123 | 125 | 'app_key' => 'some_consumer',
|
124 | 126 | 'app_secret' => 'con$umer',
|
125 | 127 | 'enabled' => true,
|
126 | 128 | ),
|
| 129 | + 'box_settings' => array( |
| 130 | + 'client_id' => 'some_consumer', |
| 131 | + 'client_secret' => 'con$umer', |
| 132 | + 'accessToken' => 'token', |
| 133 | + 'root' => 'Box.com', |
| 134 | + 'path' => '/', |
| 135 | + 'separator' => '/', |
| 136 | + 'tmbPath' => '', |
| 137 | + 'tmbURL' => '', |
| 138 | + 'tmpPath' => '', |
| 139 | + 'acceptedName' => '#^[^/\?*:|"<>]*[^./\?*:|"<>]$#', |
| 140 | + 'rootCssClass' => 'elfinder-navbar-root-box', |
| 141 | + 'enabled' => true, |
| 142 | + ), |
| 143 | + 'onedrive_settings' => array( |
| 144 | + 'client_id' => 'some_consumer', |
| 145 | + 'client_secret' => 'con$umer', |
| 146 | + 'accessToken' => 'token', |
| 147 | + 'root' => 'OneDrive.com', |
| 148 | + 'OneDriveApiClient' => '', |
| 149 | + 'path' => '/', |
| 150 | + 'separator' => '/', |
| 151 | + 'tmbPath' => '', |
| 152 | + 'tmbURL' => '', |
| 153 | + 'acceptedName' => '#^[^/\?*:|"<>]*[^./\?*:|"<>]$#', |
| 154 | + 'rootCssClass' => 'elfinder-navbar-root-onedrive', |
| 155 | + 'useApiThumbnail' => true, |
| 156 | + 'enabled' => true, |
| 157 | + ), |
127 | 158 | 'ftp_settings' => array(
|
128 | 159 | 'host' => '127.0.0.1',
|
129 | 160 | 'user' => 'root',
|
|
0 commit comments