Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Commit

Permalink
Merge pull request #30 from symfony-cmf/updated_for_RC4
Browse files Browse the repository at this point in the history
Fixed for RC4
  • Loading branch information
dantleech committed Oct 9, 2013
2 parents 3ade248 + 9478d79 commit f31b02e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Command/RefreshCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function execute(InputInterface $input, OutputInterface $output)
$output->writeln(sprintf('<info>Processing class: </info> %s', $classFqn));

$qb = $dm->createQueryBuilder();
$qb->from($classFqn);
$qb->from()->document($classFqn, 'a');
$q = $qb->getQuery();
$result = $q->getResult();

Expand Down
1 change: 1 addition & 0 deletions Tests/Functional/Command/RefreshCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ protected function createBlog($withPosts = false)
if ($withPosts) {
$post = new Post;
$post->title = 'This is a post title';
$post->body = 'Test Body';
$post->blog = $blog;
$this->getDm()->persist($post);
}
Expand Down
1 change: 1 addition & 0 deletions Tests/Functional/EventListener/AutoRouteListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ protected function createBlog($withPosts = false)
if ($withPosts) {
$post = new Post;
$post->title = 'This is a post title';
$post->body = 'Test Body';
$post->blog = $blog;
$this->getDm()->persist($post);
}
Expand Down
2 changes: 0 additions & 2 deletions Tests/Resources/app/config/routingautoroute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ cmf_routing:
demo_alias: test.controller:aliasAction
controllers_by_class:
Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Phpcr\RedirectRoute: cmf_routing.redirect_controller:redirectAction
templates_by_class:
Symfony\Cmf\Component\Testing\Document\Content: TestBundle:Content:index.html.twig
persistence:
phpcr:
enabled: true
Expand Down

0 comments on commit f31b02e

Please sign in to comment.