Skip to content

Commit

Permalink
Add missing legacy group markers
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Feb 4, 2017
1 parent bee3a37 commit 3c66861
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Tests/Admin/AdminTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -951,6 +951,9 @@ public function testGetTranslationDomain()
$this->assertSame('foo', $admin->getTranslationDomain());
}

/**
* @group legacy
*/
public function testGetTranslator()
{
$admin = new PostAdmin('sonata.post.admin.post', 'NewsBundle\Entity\Post', 'SonataNewsBundle:PostAdmin');
Expand Down Expand Up @@ -1204,6 +1207,9 @@ public function testGetObjectIdentifier()
$this->assertSame('sonata.post.admin.post', $admin->getObjectIdentifier());
}

/**
* @group legacy
*/
public function testTrans()
{
$admin = new PostAdmin('sonata.post.admin.post', 'NewsBundle\Entity\Post', 'SonataNewsBundle:PostAdmin');
Expand Down Expand Up @@ -1238,6 +1244,9 @@ public function testTransWithMessageDomain()
$this->assertSame('fooTranslated', $admin->trans('foo', array('name' => 'Andrej'), 'fooMessageDomain'));
}

/**
* @group legacy
*/
public function testTransChoice()
{
$admin = new PostAdmin('sonata.post.admin.post', 'NewsBundle\Entity\Post', 'SonataNewsBundle:PostAdmin');
Expand Down

0 comments on commit 3c66861

Please sign in to comment.