fixing photo comment test

This commit is contained in:
Graham Knop 2009-01-09 10:33:20 +00:00
parent 33a3f2b439
commit b5104d9581

View file

@ -204,7 +204,7 @@ cmp_deeply(
re( qr{TinyMCE}i ), re( qr{TinyMCE}i ),
), ),
commentForm_submit => all( commentForm_submit => all(
re( qr/<input[^>]+type="submit"[^>]+name="submit"[^>]+value="Save Comment"[^>]+>/ ), re( qr/<input[^>]+type="submit"[^>]+name="submit"[^>]+value="Save Comment."[^>]+>/ ),
), ),
} ), } ),
"appendTemplateVarsCommentForm returns the correct structure", "appendTemplateVarsCommentForm returns the correct structure",
@ -243,7 +243,7 @@ cmp_deeply(
re( qr{$comment->{bodyText}} ), re( qr{$comment->{bodyText}} ),
), ),
commentForm_submit => all( commentForm_submit => all(
re( qr/<input[^>]+type="submit"[^>]+name="submit"[^>]+value="Save Comment"[^>]+>/ ), re( qr/<input[^>]+type="submit"[^>]+name="submit"[^>]+value="Save Comment."[^>]+>/ ),
), ),
} ), } ),
"appendTemplateVarsCommentForm returns the correct structure", "appendTemplateVarsCommentForm returns the correct structure",