X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/a39b9c1fd1fbd976ce9db682b06f73e92612400c..c9c9a3ef980ef53e283651397bc7c7bbdb6d024f:/samurai_lib/test/prueba.php
diff --git a/samurai_lib/test/prueba.php b/samurai_lib/test/prueba.php
index c72bed8..2461ab8 100644
--- a/samurai_lib/test/prueba.php
+++ b/samurai_lib/test/prueba.php
@@ -4,7 +4,7 @@ require_once '../php/Samurai/Perm.php';
print "Prueba Objeto SA_Perm de samurai_lib
";
-$permiso = new SA_Perm(1,'mdegan@mecon');
+$permiso = new SA_Perm(1,'mmarre@mecon');
print "
Probando la funcion tiene -> ";
if ($permiso->tiene(1,2)) {
@@ -40,5 +40,12 @@ foreach ($rr as $r) {
}
+print "
Probando la funcion listaPermisos -> ";
+$rr = $permiso->listaPermisos();
+print "Tiene los siguientes permisos
";
+foreach ($rr as $r) {
+ print "$r
";
+}
+
?>