Bug 24494: tests: 00-valid-xml.t shouldn't check node_modules
authorVictor Grousset/tuxayo <victor@tuxayo.net>
Thu, 23 Jan 2020 14:55:18 +0000 (15:55 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 19 Feb 2020 11:30:40 +0000 (11:30 +0000)
commit3c382e1f35bdc6e07c2303e1002bb20e06127751
tree9073677b42fed625800e9af8cc8fb64921d317f3
parentfa8225feb344eb224cd59eace0cb18370d9e547e
Bug 24494: tests: 00-valid-xml.t shouldn't check node_modules

== Test plan ==
- work with SCSS (just recompile it if you never did)
  - https://wiki.koha-community.org/wiki/Working_with_staff_client_SCSS
- now you have a node_modules directory
- prove -r t/00-valid-xml.t
- it should fail on files in node_modules
- apply this patch
- prove -r t/00-valid-xml.t
- it should work
- sabotage a legitimate XML file, like etc/SIPconfig.xml
- prove -r t/00-valid-xml.t
- it should fail, good the test is still useful
- undo the sabotage

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/00-valid-xml.t