[Rt-commit] rtir branch, 3.2/debug-failed-test-on-oracle, created. 3.2.0-29-gf02d6372

? sunnavy sunnavy at bestpractical.com
Mon Apr 2 18:11:49 EDT 2018


The branch, 3.2/debug-failed-test-on-oracle has been created
        at  f02d63728dcb47d5a7b66c7464c734f7b3319cb9 (commit)

- Log -----------------------------------------------------------------
commit f02d63728dcb47d5a7b66c7464c734f7b3319cb9
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Apr 3 05:45:16 2018 +0800

    Let's see the actual difference between the 2 dates

diff --git a/t/dates/started.t b/t/dates/started.t
index b8e4cc3e..95d4bfb1 100644
--- a/t/dates/started.t
+++ b/t/dates/started.t
@@ -79,7 +79,8 @@ diag "started date of an IR" if $ENV{'TEST_VERBOSE'};
     my $ir = RT::Ticket->new( $RT::SystemUser );
     $ir->Load( $ir_id );
     is($ir->id, $ir_id, 'loaded ir');
-    ok( abs($ir->StartedObj->Unix - $ir->CreatedObj->Unix) <= 2, 'for an IR started date == linking to inc time');
+    ok( abs( $ir->StartedObj->Unix - $ir->CreatedObj->Unix ) <= 2,
+        'for an IR started date == linking to inc time: ' . $ir->StartedObj->Unix . ' VS ' . $ir->CreatedObj->Unix );
 }
 
 diag "started date of a block" if $ENV{'TEST_VERBOSE'};

-----------------------------------------------------------------------


More information about the rt-commit mailing list