diff --git a/composer.json b/composer.json
index 26317da787..dd4c43bf99 100644
--- a/composer.json
+++ b/composer.json
@@ -79,7 +79,8 @@
     },
     "autoload-dev": {
         "psr-4": {
-            "Tests\\": "tests/"
+            "Tests\\Unit\\": "tests/unit",
+            "Tests\\Integration\\": "tests/integration"
         }
     },
     "minimum-stability": "dev",