Permalink
Browse files

Fix tests to run with current Composer version

  • Loading branch information...
1 parent a3cce63 commit e80b0b2a39b842696e6a1be08efe42f555aac932 @beberlei beberlei committed Sep 12, 2012
Showing with 7 additions and 3 deletions.
  1. +2 −2 Tests/bootstrap.php
  2. +5 −1 composer.json
View
4 Tests/bootstrap.php
@@ -1,6 +1,6 @@
<?php
-if (!@include __DIR__ . '/../vendor/.composer/autoload.php') {
+if (!@include __DIR__ . '/../vendor/autoload.php') {
die("You must set up the project dependencies, run the following commands:
wget http://getcomposer.org/composer.phar
php composer.phar install
@@ -16,4 +16,4 @@
require_once $path;
return true;
}
-});
+});
View
6 composer.json
@@ -14,11 +14,15 @@
"doctrine/couchdb": "*",
"symfony/symfony": "2.1.*"
},
+ "require-dev": {
+ "doctrine/couchdb-odm": "*"
+ },
"suggest": {
"doctrine/couchdb-odm": "*"
},
"autoload": {
"psr-0": { "Doctrine\\Bundle\\CouchDBBundle": "" }
},
- "target-dir": "Doctrine/Bundle/CouchDBBundle"
+ "target-dir": "Doctrine/Bundle/CouchDBBundle",
+ "minimum-stability": "dev"
}

0 comments on commit e80b0b2

Please sign in to comment.