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)
committerJoy Nelson <joy@bywatersolutions.com>
Fri, 13 Mar 2020 00:20:43 +0000 (00:20 +0000)
commit088a610682f1a1be3fd05b64c5080faa0ff7cfd7
tree030595f01f1976d8d3eaaa6844127c7a42725d95
parentd78feb1d2fed87f2f38b4d4b57a3c0e5cff63b9d
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>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
t/00-valid-xml.t