summaryrefslogtreecommitdiff
path: root/rt/t/api/rt.t
diff options
context:
space:
mode:
Diffstat (limited to 'rt/t/api/rt.t')
-rw-r--r--rt/t/api/rt.t18
1 files changed, 18 insertions, 0 deletions
diff --git a/rt/t/api/rt.t b/rt/t/api/rt.t
new file mode 100644
index 000000000..3c06b5848
--- /dev/null
+++ b/rt/t/api/rt.t
@@ -0,0 +1,18 @@
+
+use strict;
+use warnings;
+use RT;
+use RT::Test 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");
+
+
+}
+
+1;