[Bps-public-commit] r17159 - in sd/trunk/t: .

jesse at bestpractical.com jesse at bestpractical.com
Tue Dec 9 15:18:20 EST 2008


Author: jesse
Date: Tue Dec  9 15:18:20 2008
New Revision: 17159

Modified:
   sd/trunk/t/01-create.t
   sd/trunk/t/02-create-with-editor.t
   sd/trunk/t/03-update-ticket-with-editor.t
   sd/trunk/t/sd-rt/pull-watchers.t

Log:
* reported_by became reporter per spang

Modified: sd/trunk/t/01-create.t
==============================================================================
--- sd/trunk/t/01-create.t	(original)
+++ sd/trunk/t/01-create.t	Tue Dec  9 15:18:20 2008
@@ -34,7 +34,7 @@
         'status: new',
         qr/^created: \d{4}-\d{2}-\d{2}.+$/,
         qr/^creator: /,
-        'reported_by: ' . $ENV{EMAIL},
+        'reporter: ' . $ENV{EMAIL},
         'milestone: alpha',
         "original_replica: " . replica_uuid,
     ]

Modified: sd/trunk/t/02-create-with-editor.t
==============================================================================
--- sd/trunk/t/02-create-with-editor.t	(original)
+++ sd/trunk/t/02-create-with-editor.t	Tue Dec  9 15:18:20 2008
@@ -27,7 +27,7 @@
         'status: new',
         qr/^created: \d{4}-\d{2}-\d{2}.+$/,
         qr/^creator: /,
-        'reported_by: ' . $ENV{EMAIL},
+        'reporter: ' . $ENV{EMAIL},
         'milestone: alpha',
         "original_replica: $replica_uuid",
     ]

Modified: sd/trunk/t/03-update-ticket-with-editor.t
==============================================================================
--- sd/trunk/t/03-update-ticket-with-editor.t	(original)
+++ sd/trunk/t/03-update-ticket-with-editor.t	Tue Dec  9 15:18:20 2008
@@ -27,7 +27,7 @@
         'owner: foo at bar.com',
         qr/^created: \d{4}-\d{2}-\d{2}.+$/,
         qr/^creator: /,
-        'reported_by: ' . $ENV{EMAIL},
+        'reporter: ' . $ENV{EMAIL},
         'milestone: alpha',
         "original_replica: $replica_uuid",
     ]
@@ -44,7 +44,7 @@
         'status: new',
         qr/^created: \d{4}-\d{2}-\d{2}.+$/,
         qr/^creator: /,
-        'reported_by: ' . $ENV{EMAIL},
+        'reporter: ' . $ENV{EMAIL},
         'milestone: alpha',
         "original_replica: $replica_uuid",
     ]

Modified: sd/trunk/t/sd-rt/pull-watchers.t
==============================================================================
--- sd/trunk/t/sd-rt/pull-watchers.t	(original)
+++ sd/trunk/t/sd-rt/pull-watchers.t	Tue Dec  9 15:18:20 2008
@@ -86,7 +86,7 @@
     ok $sd_tid, 'pulled ticket';
 
     my $info = get_ticket_info($sd_tid);
-    is $info->{'metadata'}{'reported_by'}, 'test at localhost',
+    is $info->{'metadata'}{'reporter'}, 'test at localhost',
         'correct requestor';
 
     my ($res) = $ticket->SetStatus('deleted');
@@ -113,7 +113,7 @@
     ok $sd_tid, 'pulled ticket';
 
     my $info = get_ticket_info($sd_tid);
-    is $info->{'metadata'}{'reported_by'}, 'another at localhost, test at localhost',
+    is $info->{'metadata'}{'reporter'}, 'another at localhost, test at localhost',
         'correct requestors';
 
     my ($res) = $ticket->SetStatus('deleted');
@@ -143,7 +143,7 @@
     ok $sd_tid, 'pulled ticket';
 
     my $info = get_ticket_info($sd_tid);
-    is $info->{'metadata'}{'reported_by'}, 'another at localhost, test at localhost',
+    is $info->{'metadata'}{'reporter'}, 'another at localhost, test at localhost',
         'correct requestor';
 
     ($res) = $ticket->SetStatus('deleted');
@@ -171,7 +171,7 @@
     ok $sd_tid, 'pulled ticket';
 
     my $info = get_ticket_info($sd_tid);
-    is $info->{'metadata'}{'reported_by'}, 'test at localhost',
+    is $info->{'metadata'}{'reporter'}, 'test at localhost',
         'correct requestor';
 
     my ($res) = $ticket->AddWatcher( Type => 'Requestor', Email => 'another at localhost' );
@@ -180,7 +180,7 @@
     ($ret, $out, $err) = run_script( 'sd', [ 'pull', '--from', $sd_rt_url ] );
 
     $info = get_ticket_info($sd_tid);
-    is $info->{'metadata'}{'reported_by'}, 'another at localhost, test at localhost',
+    is $info->{'metadata'}{'reporter'}, 'another at localhost, test at localhost',
         'correct requestor';
 
     ($res) = $ticket->SetStatus('deleted');
@@ -207,7 +207,7 @@
     ok $sd_tid, 'pulled ticket';
 
     my $info = get_ticket_info($sd_tid);
-    ok !$info->{'metadata'}{'reported_by'}, 'correct requestor';
+    ok !$info->{'metadata'}{'reporter'}, 'correct requestor';
 
     my ($res) = $ticket->AddWatcher( Type => 'Requestor', Email => 'another at localhost' );
     ok $res, "added requestor";
@@ -215,7 +215,7 @@
     ($ret, $out, $err) = run_script( 'sd', [ 'pull', '--from', $sd_rt_url ] );
 
     $info = get_ticket_info($sd_tid);
-    is $info->{'metadata'}{'reported_by'}, 'another at localhost',
+    is $info->{'metadata'}{'reporter'}, 'another at localhost',
         'correct requestor';
 
     ($res) = $ticket->SetStatus('deleted');
@@ -245,7 +245,7 @@
     ok $sd_tid, 'pulled ticket';
 
     my $info = get_ticket_info($sd_tid);
-    is $info->{'metadata'}{'reported_by'}, 'another at localhost',
+    is $info->{'metadata'}{'reporter'}, 'another at localhost',
         'correct requestor';
 
     ($res) = $ticket->SetStatus('deleted');
@@ -273,7 +273,7 @@
     ok $sd_tid, 'pulled ticket';
 
     my $info = get_ticket_info($sd_tid);
-    is $info->{'metadata'}{'reported_by'}, 'test at localhost',
+    is $info->{'metadata'}{'reporter'}, 'test at localhost',
         'correct requestor';
 
     my ($res) = $ticket->DeleteWatcher( Type => 'Requestor', Email => 'test at localhost' );
@@ -282,7 +282,7 @@
     ($ret, $out, $err) = run_script( 'sd', [ 'pull', '--from', $sd_rt_url ] );
 
     $info = get_ticket_info($sd_tid);
-    ok !$info->{'metadata'}{'reported_by'}, 'correct requestor';
+    ok !$info->{'metadata'}{'reporter'}, 'correct requestor';
 }
 
 sub flush_sd {



More information about the Bps-public-commit mailing list