Fix test for comment posting to not try to send email.
Patch by kareila.
diffs (25 lines):
diff -r a2f067a771a7 -r 8af8ed80ed06 cgi-bin/LJ/Test.pm
--- a/cgi-bin/LJ/Test.pm Wed Apr 21 23:01:40 2010 +0000
+++ b/cgi-bin/LJ/Test.pm Wed Apr 21 23:06:05 2010 +0000
@@ -387,7 +387,7 @@ sub t_enter_comment {
$entry->journal,
$commentref,
{talkid => $parenttalkid, state => 'A'},
- {itemid => $jitemid, state => 'A'},
+ {itemid => $jitemid, state => 'A',
opt_noemail => 1},
\$err,
);
diff -r a2f067a771a7 -r 8af8ed80ed06 t/entrycomment-create.t
--- a/t/entrycomment-create.t Wed Apr 21 23:01:40 2010 +0000
+++ b/t/entrycomment-create.t Wed Apr 21 23:06:05 2010 +0000
@@ -8,8 +8,7 @@ use LJ::Test qw(memcache_stress temp_use
use LJ::Test qw(memcache_stress temp_user);
use FindBin qw($Bin);
-#plan tests => 4;
-plan skip_all => 'Fix this test!';
+plan tests => 4;
my $u = temp_user();
ok($u, "got a user");
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog