Permalink
Browse files

Fix SQLBuilder autoload for composer

  • Loading branch information...
1 parent 59274df commit 41b17828f4fafbf7f72daa327e0a28795e640245 @c9s committed Mar 26, 2013
Showing with 6 additions and 11 deletions.
  1. +5 −5 composer.json
  2. +1 −6 tests/bootstrap.php
View
@@ -7,13 +7,13 @@
"email": "cornelius.howl@gmail.com"
}
],
- "require": [
-
- ],
+ "require-dev": {
+ "corneltek/phpunit-testmore": "dev-master"
+ },
"autoload": {
"psr-0": {
- "SQLBuilder": "src\/"
+ "SQLBuilder": "src"
}
},
"version": "1.3.12"
-}
+}
View
@@ -1,9 +1,4 @@
<?php
-require 'PHPUnit/TestMore.php';
-require 'vendor/pear/Universal/ClassLoader/BasePathClassLoader.php';
+$loader = require 'vendor/autoload.php';
require 'tests/DriverFactory.php';
require 'tests/PHPUnit/PDO/TestCase.php';
-$loader = new \Universal\ClassLoader\BasePathClassLoader(array('src','vendor/pear'));
-$loader->useIncludePath(true);
-// prepend to the spl class loader list
-$loader->register(true); // use prepend

0 comments on commit 41b1782

Please sign in to comment.