Commit 05fdc048 authored by Jeremy Mikola's avatar Jeremy Mikola

Use "autoload-dev" for loading test classes

parent 3130ae38
......@@ -17,6 +17,9 @@
"psr-4": { "MongoDB\\": "src/" },
"files": [ "src/functions.php" ]
},
"autoload-dev": {
"psr-4": { "MongoDB\\Tests\\": "tests/" }
},
"extra": {
"branch-alias": {
"dev-master": "0.3.x-dev"
......
......@@ -9,5 +9,3 @@ if (file_exists(__DIR__ . '/../vendor/autoload.php')) {
} else {
throw new Exception('Can\'t find autoload.php. Did you install dependencies with Composer?');
}
$loader->addPsr4('MongoDB\\Tests\\', __DIR__);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment