X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Ft%2Fapi%2Fattribute-tests.t;h=8489f1a56bc267197b930a84bf7d263b4a7164ab;hb=67b56f17cc51d10394a986fb3d105213b097ee79;hp=90c3ddb7e685d76a4399aeecf32d9baccaa056aa;hpb=b4b0c7e72d7eaee2fbfc7022022c9698323203dd;p=freeside.git diff --git a/rt/t/api/attribute-tests.t b/rt/t/api/attribute-tests.t index 90c3ddb7e..8489f1a56 100644 --- a/rt/t/api/attribute-tests.t +++ b/rt/t/api/attribute-tests.t @@ -1,7 +1,7 @@ use strict; use warnings; use RT; -use RT::Test tests => 34; +use RT::Test nodata => 1, tests => 34; @@ -11,7 +11,7 @@ my $attribute = "squelch-$runid"; ok(require RT::Attributes); -my $user = RT::User->new($RT::SystemUser); +my $user = RT::User->new(RT->SystemUser); ok (UNIVERSAL::isa($user, 'RT::User')); my ($id,$msg) = $user->Create(Name => 'attrtest-'.$runid); ok ($id, $msg); @@ -81,6 +81,3 @@ ok(1, $attr->BuildSelectQuery); @names = $attr->Names; is("@names", "TestAttr"); - - -1;