Code Duplication    Length = 7-7 lines in 2 locations

tests/CommentsTest.php 2 locations

@@ 1329-1335 (lines=7) @@
1326
    }
1327
}
1328
1329
class CommentableItemEnabled extends CommentableItem
1330
{
1331
    private static $defaults = array(
1332
        'ProvideComments' => true,
1333
        'ModerationRequired' => 'Required',
1334
        'CommentsRequireLogin' => true
1335
    );
1336
}
1337
1338
@@ 1339-1345 (lines=7) @@
1336
}
1337
1338
1339
class CommentableItemDisabled extends CommentableItem
1340
{
1341
    private static $defaults = array(
1342
        'ProvideComments' => false,
1343
        'ModerationRequired' => 'None',
1344
        'CommentsRequireLogin' => false
1345
    );
1346
}
1347
1348
/**