Bug 8022: Permissions test doesn't check all languages
authorJared Camins-Esakov <jcamins@cpbibliography.com>
Sat, 28 Apr 2012 14:04:51 +0000 (10:04 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Mon, 14 May 2012 13:05:16 +0000 (15:05 +0200)
Add the permissions files for es-ES and nb-NO to the permissions test.

Signed-off-by: Magnus Enger <magnus@enger.priv.no>
Running xt/permissions.t before the patch leaves out nb-NO and es-ES.
After the patch they are picked up and the test fails correctly
because of the missing permissions described in Bug 7984.
As far as I can tall, all permission files are now picked up by
this test.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>

xt/permissions.t

index 9fee7d2..64998ce 100755 (executable)
@@ -33,6 +33,8 @@ my @trans_perms_files = qw(
     uk-UA/mandatory/permissions_and_user_flags.sql
     ru-RU/mandatory/permissions_and_user_flags.sql
     pl-PL/mandatory/userpermissions.sql
+    nb-NO/1-Obligatorisk/userpermissions.sql
+    es-ES/mandatory/userpermissions.sql
 );
 
 ok(