RT 4.2.11, ticket#13852
[freeside.git] / rt / t / security / CVE-2011-5092-graph-links.t
index 5e98dd3..c6397f5 100644 (file)
@@ -13,12 +13,12 @@ for my $arg (qw(LeadingLink ShowLinks)) {
     );
     ok $ticket->id, 'created ticket';
 
-    ok !$ticket->ToldObj->Unix, 'no Told';
+    ok !$ticket->ToldObj->IsSet, 'no Told';
     $m->get_ok("$base/Ticket/Graphs/index.html?$arg=SetTold;id=" . $ticket->id);
 
     $ticket->Load($ticket->id); # cache busting
 
-    ok !$ticket->ToldObj->Unix, 'still no Told';
+    ok !$ticket->ToldObj->IsSet, 'still no Told';
     $m->content_lacks('GotoFirstItem', 'no GotoFirstItem error');
     $m->content_like(qr|<img[^>]+?src=['"]/Ticket/Graphs/@{[$ticket->id]}|, 'found image element');
 }