FIX Replace French translation in CommentAdminTest now that it's available

This commit is contained in:
Robbie Averill 2017-12-12 17:12:02 +13:00
parent c6f8973342
commit 3f6f651eea

View File

@ -5,13 +5,9 @@ namespace SilverStripe\Comments\Tests;
use SilverStripe\Comments\Admin\CommentAdmin; use SilverStripe\Comments\Admin\CommentAdmin;
use SilverStripe\Dev\SapphireTest; use SilverStripe\Dev\SapphireTest;
use SilverStripe\i18n\i18n; use SilverStripe\i18n\i18n;
use SilverStripe\Security\Security;
class CommentAdminTest extends SapphireTest class CommentAdminTest extends SapphireTest
{ {
/**
* {@inheritDoc}
*/
protected $usesDatabase = true; protected $usesDatabase = true;
public function testProvidePermissions() public function testProvidePermissions()
@ -23,7 +19,7 @@ class CommentAdminTest extends SapphireTest
$expected = array( $expected = array(
'CMS_ACCESS_CommentAdmin' => array( 'CMS_ACCESS_CommentAdmin' => array(
'name' => 'Accès à la section Commentaires', 'name' => 'Accès à la section Commentaires',
'category' => 'CMS Access' // missing in core 'category' => 'Accès au CMS',
) )
); );