Skip to content

Commit

Permalink
revert commented tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Rabaix committed Apr 17, 2014
1 parent 7d1aebb commit 7b00780
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Tests/Admin/AdminTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,11 @@ public function testGetBaseRouteNameWithChildAdmin()
$this->assertEquals('admin_sonata_news_post_comment', $commentAdmin->getBaseRouteName());

$this->assertTrue($postAdmin->hasRoute('show'));
// $this->assertTrue($postAdmin->hasRoute('sonata.post.admin.post.show'));
// $this->assertTrue($postAdmin->hasRoute('sonata.post.admin.post|sonata.post.admin.comment.show'));
// $this->assertTrue($postAdmin->hasRoute('sonata.post.admin.comment.list'));
// $this->assertFalse($postAdmin->hasRoute('sonata.post.admin.post|sonata.post.admin.comment.edit'));
// $this->assertFalse($commentAdmin->hasRoute('edit'));
$this->assertTrue($postAdmin->hasRoute('sonata.post.admin.post.show'));
$this->assertTrue($postAdmin->hasRoute('sonata.post.admin.post|sonata.post.admin.comment.show'));
$this->assertTrue($postAdmin->hasRoute('sonata.post.admin.comment.list'));
$this->assertFalse($postAdmin->hasRoute('sonata.post.admin.post|sonata.post.admin.comment.edit'));
$this->assertFalse($commentAdmin->hasRoute('edit'));
}

/**
Expand Down

0 comments on commit 7b00780

Please sign in to comment.