File: rt.t

package info (click to toggle)
request-tracker5 5.0.9%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 82,492 kB
  • sloc: javascript: 191,917; perl: 88,537; sh: 1,434; makefile: 489; python: 37; php: 15
file content (17 lines) | stat: -rw-r--r-- 351 bytes parent folder | download | duplicates (13)
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");


}