[Rt-commit] rt branch, 4.4/download-user-info, repushed

Craig Kaiser craig at bestpractical.com
Mon Jun 18 12:24:31 EDT 2018


The branch 4.4/download-user-info was deleted and repushed:
       was 4dccc1f0d42036788e60829cf5a4add6ae65cc77
       now 986f6063bf3f23e222e2d604de105f3ee9fd0189

1: a7061699c = 1: a7061699c Add column to transaction column map for content
2: 195b4b2a4 = 2: 195b4b2a4 Add 'UserDataSearchResultFormat' config option
3: fc4af63af = 3: fc4af63af Create helper for exporting user related information
4: 1720cfa35 = 4: 1720cfa35 Create portlet for downloading user information
5: 926302317 = 5: 926302317 Add user download portlet to admin user modify page
6: 4dccc1f0d ! 6: 986f6063b Create test for user information TSV download
    @@ -38,11 +38,18 @@
     +    $ticket->Correspond(Content => 'Test - Reply');
     +
     +    my @dates;
    ++    # Transactions we are checking
    ++    my $trans_checking = qr /Create Comment Correspond/;
     +    my $trans = $ticket->Transactions;
    ++
     +    while (my $tran = $trans->Next) {
    -+        push @dates, $tran->CreatedObj->AsString;
    ++        if ( $trans_checking =~ $tran->Type ) {
    ++            push @dates, $tran->CreatedObj->AsString;
    ++        }
     +    }
     +    my ($date_created, $date_commented, $date_correspondence) = @dates;
    ++    # Make sure we have the expected amount of transactions
    ++    is scalar @dates, 3;
     +
     +    # TSV file for user record information
     +    $agent->get_ok( $url . "/Admin/Users/Modify.html?id=" . $root->id );



More information about the rt-commit mailing list