diff --git a/core/js/core.json b/core/js/core.json
index b25c260ab9fc38fbcb960ff7042cef40c43739a3..9ea17f2ac5e7ee4c0f42d3c0fc6773aa28649c9e 100644
--- a/core/js/core.json
+++ b/core/js/core.json
@@ -2,15 +2,6 @@
 	"libraries": [
 	],
 	"modules": [
-		"share.js",
-		"sharetemplates.js",
-		"sharesocialmanager.js",
-		"shareconfigmodel.js",
-		"shareitemmodel.js",
-		"sharedialogview.js",
-		"sharedialoglinkshareview.js",
-		"sharedialogresharerinfoview.js",
-		"sharedialogshareelistview.js",
 		"public/publicpage.js",
 		"setupchecks.js",
 		"mimetype.js",
diff --git a/tests/karma.config.js b/tests/karma.config.js
index c090148b283fd46154f467dc801609772c06518a..f64368daf959bb49a93b41bf49216a24ad4c0ab1 100644
--- a/tests/karma.config.js
+++ b/tests/karma.config.js
@@ -60,7 +60,6 @@ module.exports = function(config) {
 					'apps/files_sharing/js/dist/files_sharing_tab.js',
 					'apps/files_sharing/js/dist/files_sharing.js',
 					'apps/files_sharing/js/dist/main.js',
-					'apps/files_sharing/js/dist/sidebar.js',
 					'apps/files_sharing/js/files_drop.js',
 					'apps/files_sharing/js/public.js',
 					'apps/files_sharing/js/sharedfilelist.js',
@@ -193,12 +192,6 @@ module.exports = function(config) {
 		included: false,
 		served: true
 	});
-	files.push({
-		pattern: 'core/css/images/*',
-		watched: false,
-		included: false,
-		served: true
-	});
 
 	// include core CSS
 	files.push({
@@ -241,7 +234,8 @@ module.exports = function(config) {
 			'/base/tests/css/': 'http://localhost:9876/base/core/css/',
 			'/base/core/css/images/': 'http://localhost:9876/base/core/css/images/',
 			'/actions/': 'http://localhost:9876/base/core/img/actions/',
-			'/base/core/fonts/': 'http://localhost:9876/base/core/fonts/'
+			'/base/core/fonts/': 'http://localhost:9876/base/core/fonts/',
+			'/svg/': '../core/img/'
 		},
 
 		// test results reporter to use