LemonLDAP::NG Web SSO
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
lemonldap-ng/lemonldap-ng-manager/t/07-utf8.t

20 lines
399 B

#!/usr/bin/env perl -I pl/lib
#
# Test if an UTF-8 char is well returned
use Test::More;
use strict;
my $str = "The LemonLDAP::NG team \x{c2}\x{a9}";
require 't/test-lib.pm';
my $href = &client->jsonResponse('/confs/1/cfgAuthor');
#binmode STDERR;
ok( $href->{value} eq $str, 'Value is well encoded' )
or print STDERR "Expect '$href->{value}' eq '$str'";
count(1);
done_testing( count() );