File: rt.t

package info (click to toggle)
request-tracker5 5.0.3%2Bdfsg-3~deb12u3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 77,648 kB
  • sloc: javascript: 187,930; perl: 79,061; sh: 1,302; makefile: 471; python: 37; php: 15
file content (17 lines) | stat: -rw-r--r-- 351 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

use strict;
use warnings;
use RT;
use RT::Test nodata => 1, tests => 4;


{

is (RT->Nobody->Name() , 'Nobody', "Nobody is nobody");
isnt (RT->Nobody->Name() , 'root', "Nobody isn't named root");
is (RT->SystemUser->Name() , 'RT_System', "The system user is RT_System");
isnt (RT->SystemUser->Name() , 'noname', "The system user isn't noname");


}