[Rt-commit] rt branch, 4.4/total-time-worked, repushed

Dave Goehrig dave at bestpractical.com
Tue Mar 14 14:59:29 EDT 2017


The branch 4.4/total-time-worked was deleted and repushed:
       was 887c52acdeb2121b329cfccc04c0932468b716d2
       now e8295fe801abe6bdd4e8db26ee18c0144a66fcf2

1:  887c52a ! 1:  e8295fe adding total time worked
    @@ -245,10 +245,7 @@
     +diag("Test inheritance total time worked");
     +{
     +    my @warnings;
    -+    local $SIG{__WARN__} = sub {
    -+        push @warnings, @_;
    -+    };
    -+
    ++    
     +    my $parent = RT::Ticket->new(RT->SystemUser);
     +    my ($ok1,$msg1) = $parent->Create(
     +        Queue => 'general',
    @@ -263,22 +260,29 @@
     +    );
     +    ok $ok2, "created child ticket $msg2";
     +
    -+    my ($ok3,$msg3) = $parent->AddLink(
    -+        Type => 'MemberOf',
    -+        Base => $child->id,
    -+    );
    -+    ok $ok3, "Created parent -> child link $msg3";
    -+    my ($ok4,$msg4) = $parent->AddLink(
    -+        Type => 'MemberOf',
    -+        Base => 'http://bestpractical.com',
    -+    );
    -+    ok $ok4, "Create parent -> url link $msg4";
    -+
    -+    my ($ok5,$msg5) = $child->AddLink(
    -+        Type => 'MemberOf',
    -+        Base => 'http://docs.bestpractical.com/',
    -+    );
    -+    ok $ok5, "Created child -> url link $msg5";
    ++    {
    ++        local $SIG{__WARN__} = sub {
    ++            push @warnings, @_;
    ++        };
    ++
    ++        my ($ok3,$msg3) = $parent->AddLink(
    ++            Type => 'MemberOf',
    ++            Base => $child->id,
    ++        );
    ++        ok $ok3, "Created parent -> child link $msg3";
    ++        my ($ok4,$msg4) = $parent->AddLink(
    ++            Type => 'MemberOf',
    ++            Base => 'http://bestpractical.com',
    ++        );
    ++        ok $ok4, "Create parent -> url link $msg4";
    ++
    ++        my ($ok5,$msg5) = $child->AddLink(
    ++            Type => 'MemberOf',
    ++            Base => 'http://docs.bestpractical.com/',
    ++        );
    ++        ok $ok5, "Created child -> url link $msg5";
    ++
    ++    }
     +
     +    $parent->SetTimeWorked(10);
     +    $child->SetTimeWorked(20);



More information about the rt-commit mailing list