mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
FIX Replace French translation in CommentAdminTest now that it's available
This commit is contained in:
parent
c6f8973342
commit
3f6f651eea
@ -5,13 +5,9 @@ namespace SilverStripe\Comments\Tests;
|
||||
use SilverStripe\Comments\Admin\CommentAdmin;
|
||||
use SilverStripe\Dev\SapphireTest;
|
||||
use SilverStripe\i18n\i18n;
|
||||
use SilverStripe\Security\Security;
|
||||
|
||||
class CommentAdminTest extends SapphireTest
|
||||
{
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
protected $usesDatabase = true;
|
||||
|
||||
public function testProvidePermissions()
|
||||
@ -23,7 +19,7 @@ class CommentAdminTest extends SapphireTest
|
||||
$expected = array(
|
||||
'CMS_ACCESS_CommentAdmin' => array(
|
||||
'name' => 'Accès à la section Commentaires',
|
||||
'category' => 'CMS Access' // missing in core
|
||||
'category' => 'Accès au CMS',
|
||||
)
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user