Clean out stale data, so it doesn't affect further tests in the test 
suite.

        Patch by kareila. 

diffs (12 lines):

diff -r 74a45a47496a -r 07d943a5c456 cgi-bin/LJ/Test.pm
--- a/cgi-bin/LJ/Test.pm        Mon Aug 23 18:25:43 2010 +0800
+++ b/cgi-bin/LJ/Test.pm        Mon Aug 23 18:29:45 2010 +0800
@@ -396,6 +396,8 @@ sub t_enter_comment {
 
     die "Could not post comment: $err" unless $jtalkid;
 
+    delete $entry->{_loaded_comments};
+
     return LJ::Comment->new($entryu, jtalkid => $jtalkid);
 }
 
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to