Skip to content
Permalink
Browse files

make the broken api-tests running again, but still not passing api-te…

…sts like befor
  • Loading branch information
chirimoya authored and lsmith77 committed Jun 25, 2011
1 parent cc7e42f commit 33ed725ea76b838acb3a51df4117253fa3ad9af9
Showing with 3 additions and 3 deletions.
  1. +2 −2 api-test/bootstrap_doctrine.php
  2. +1 −1 src/Jackalope/Transport/DoctrineDBAL/RepositorySchema.php
4 api-test/bootstrap_doctrine.php 100644 → 100755
@@ -47,7 +47,7 @@
'password' => $GLOBALS['jcr.doctrine.dbal.password'],
'dbname' => $GLOBALS['jcr.doctrine.dbal.dbname']
));
$schema = \Jackalope\Transport\Doctrine\RepositorySchema::create();
$schema = \Jackalope\Transport\DoctrineDBAL\RepositorySchema::create();
try {
foreach ($schema->toDropSql($dbConn->getDatabasePlatform()) AS $sql) {
$dbConn->exec($sql);
@@ -72,7 +72,7 @@ function getRepository($config) {
global $dbConn;
$dbConn->insert("jcrworkspaces", array("name" => "tests"));

$transport = new \Jackalope\Transport\Doctrine\DoctrineTransport($dbConn);
$transport = new \Jackalope\Transport\DoctrineDBAL\DoctrineDBALTransport($dbConn);
$GLOBALS['pdo'] = $dbConn->getWrappedConnection();
return new \Jackalope\Repository(null, null, $transport);
}
@@ -20,7 +20,7 @@
* @subpackage transport
*/

namespace Jackalope\Transport\Doctrine;
namespace Jackalope\Transport\DoctrineDBAL;

use Doctrine\DBAL\Schema\Schema;

0 comments on commit 33ed725

Please sign in to comment.
You can’t perform that action at this time.