Skip to content

Commit

Permalink
tests: move autoload of tests to composer
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Oct 21, 2015
1 parent b56dc2d commit 3a4f836
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
"Doctrine\\DBAL\\Migrations\\": "lib/Doctrine/DBAL/Migrations"
}
},
"autoload-dev": {
"psr-4": {
"Doctrine\\DBAL\\Migrations\\Tests\\": "tests/Doctrine/DBAL/Migrations/Tests"
}
},
"extra": {
"branch-alias": {
"dev-master": "v1.1.x-dev"
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<phpunit colors="true" bootstrap="tests/bootstrap.php">
<phpunit colors="true" bootstrap="vendor/autoload.php">
<testsuites>
<testsuite name="Doctrine2 Database Migrations Test Suite">
<directory>./tests/Doctrine/</directory>
Expand Down
4 changes: 0 additions & 4 deletions tests/bootstrap.php

This file was deleted.

0 comments on commit 3a4f836

Please sign in to comment.