github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2020-07-16 08:16 pm

[dreamwidth/dw-free] 947e68: test html cleaner with minimal external dependenci...

Branch: refs/heads/master
Home: https://github.com/dreamwidth/dw-free
Commit: 947e6870191851efb7890d9931f15d1b9f22494d
https://github.com/dreamwidth/dw-free/commit/947e6870191851efb7890d9931f15d1b9f22494d
Author: Martin DeMello <martindemello@gmail.com>
Date: 2020-07-16 (Thu, 16 Jul 2020)

Changed paths:
M cgi-bin/LJ/CleanHTML.pm
M t/cleaner-comment.t
M t/cleaner-email.t
A t/cleaner-event-embed.t
M t/cleaner-event.t
M t/cleaner-forms.t
M t/cleaner-invalid.t
M t/cleaner-ljtags.t
M t/cleaner-markdown.t
M t/cleaner-subject.t
M t/cleaner-tables.t
A t/lib/ljtestlib.pl

Log Message:
-----------
test html cleaner with minimal external dependencies (#2709)

* test html cleaner with minimal external dependencies

* review fixes

* rerun tidyall

* Use ljtestlib for all cleaner-* tests except embed

Cleans up ljtestlib.pl a bit, moves it to t/lib/

* we don't need LJ::_T_CONFIG if we aren't using ljlib

* create an LJ::Mock module and move temp_user there

* tidy

* move temp_user back to ljtestlib.pl