Skip to content

Commit

Permalink
Change default to flat-file
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikbjorn committed Feb 4, 2014
1 parent 13157a3 commit b47ed49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Bernard/Silex/BernardServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function register(Application $app)

$app['bernard.config'] = $app->share(function ($app) {
return $app['bernard.options'] + array(
'driver' => 'doctrine',
'driver' => 'flat_file',
'serializer' => 'simple',
'prefetch' => null,
'directory' => null,
Expand Down
2 changes: 1 addition & 1 deletion tests/Bernard/Tests/Silex/BernardServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function setUp()
public function testDefaultOptions()
{
// Default settings
$this->assertEquals('doctrine', $this->app['bernard.config']['driver']);
$this->assertEquals('flat_file', $this->app['bernard.config']['driver']);
$this->assertEquals(null, $this->app['bernard.config']['prefetch']);
$this->assertEquals('simple', $this->app['bernard.config']['serializer']);
}
Expand Down

0 comments on commit b47ed49

Please sign in to comment.