Don't try to set the rev* properties. Not going to work.
Patch by kareila.
diffs (23 lines):
diff -r 68f7595c9791 -r 4dc430073012 t/proto-post-edit-roundtrip.t
--- a/t/proto-post-edit-roundtrip.t Thu Apr 22 05:26:57 2010 -0700
+++ b/t/proto-post-edit-roundtrip.t Thu Apr 22 05:47:39 2010 -0700
@@ -7,8 +7,7 @@ require 'ljlib.pl';
require 'ljlib.pl';
require 'ljprotocol.pl';
-#plan tests => 10;
-plan skip_all => 'Fix this test!';
+plan tests => 10;
my $u = temp_user();
my $newpass = "pass" . rand();
@@ -63,6 +62,9 @@ is($it->{props}{revnum}, 1, "is 1st revi
{
my %props;
foreach my $p (keys %{ $it->{props} }) {
+ # revnum and revtime can't be manually specified; skip these
+ next if $p eq "revnum";
+ next if $p eq "revtime";
$props{"prop_$p"} = $it->{props}{$p};
}
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog