diff options
Diffstat (limited to 'rt/t/security/CVE-2011-5092-graph-links.t')
-rw-r--r-- | rt/t/security/CVE-2011-5092-graph-links.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rt/t/security/CVE-2011-5092-graph-links.t b/rt/t/security/CVE-2011-5092-graph-links.t index 5e98dd3b5..c6397f5a2 100644 --- a/rt/t/security/CVE-2011-5092-graph-links.t +++ b/rt/t/security/CVE-2011-5092-graph-links.t @@ -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'); } |