File: rt.t

package info (click to toggle)
request-tracker4 4.4.1-3%2Bdeb9u3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 42,208 kB
  • ctags: 5,607
  • sloc: perl: 60,294; sh: 1,086; makefile: 462; 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");


}