[Rt-commit] r14050 - in rt/branches/3.999-DANGEROUS: t/api
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Mon Jul 14 06:09:01 EDT 2008
Author: sunnavy
Date: Mon Jul 14 06:09:00 2008
New Revision: 14050
Modified:
rt/branches/3.999-DANGEROUS/ (props changed)
rt/branches/3.999-DANGEROUS/t/api/queue.t
Log:
r14391 at sunnavys-mb: sunnavy | 2008-07-14 16:14:15 +0800
name fix
Modified: rt/branches/3.999-DANGEROUS/t/api/queue.t
==============================================================================
--- rt/branches/3.999-DANGEROUS/t/api/queue.t (original)
+++ rt/branches/3.999-DANGEROUS/t/api/queue.t Mon Jul 14 06:09:00 2008
@@ -64,12 +64,12 @@
ok(my $bob = RT::Model::User->new(current_user => RT->system_user), "Creating a bob rt::user");
$bob->load_by_email('bob at fsck.com');
ok($bob->id, "Found the bob rt user");
-ok ($Queue->IsWatcher(type => 'cc', principal_id => $bob->principal_id), "The queue actually has bob at fsck.com as a requestor");
+ok ($Queue->is_watcher(type => 'cc', principal_id => $bob->principal_id), "The queue actually has bob at fsck.com as a requestor");
{
my ($status, $msg) = $Queue->delete_watcher(type =>'cc', email => 'bob at fsck.com');
ok ($status, "Deleted bob from Ccs") or diag "error: $msg";
- ok (!$Queue->IsWatcher(type => 'cc', principal_id => $bob->principal_id),
+ ok (!$Queue->is_watcher(type => 'cc', principal_id => $bob->principal_id),
"The queue no longer has bob at fsck.com as a requestor");
}
More information about the Rt-commit
mailing list