Selaa lähdekoodia

removes header caching that was breaking silex-orm tests

Keith Newman 9 vuotta sitten
vanhempi
commit
f175dfc392
1 muutettua tiedostoa jossa 2 lisäystä ja 3 poistoa
  1. 2 3
      frameworks/PHP/silex-orm/web/index.php

+ 2 - 3
frameworks/PHP/silex-orm/web/index.php

@@ -14,7 +14,7 @@ $loader = require_once __DIR__.'/../vendor/autoload.php';
 
 $app = new Silex\Application();
 
-$dbh = new PDO('mysql:host=192.168.100.102;dbname=hello_world', 'benchmarkdbuser', 'benchmarkdbpass', array(
+$dbh = new PDO('mysql:host=127.0.0.1;dbname=hello_world', 'benchmarkdbuser', 'benchmarkdbpass', array(
     PDO::ATTR_PERSISTENT => true
 ));
 
@@ -34,8 +34,7 @@ $app->register(new DoctrineOrmServiceProvider, array(
                 'path' => __DIR__.'/../src/Entity',
                 'use_simple_annotation_reader' => false,
             ),
-        ),
-        'metadata_cache' => 'redis'
+        )
     ),
 ));