Bug 16423: Fix t/db_dependent/www/batch.t so it matches new layout
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 2 May 2016 20:30:57 +0000 (17:30 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 3 May 2016 15:33:00 +0000 (15:33 +0000)
commit635961dcdb0b2009b1656c14a233dad1f0906537
tree8c7e9a7b1c84fba944517123ebe1bf852b0e9403
parent93ef7e1c13ae20acfd9616a1afd94dde27faab93
Bug 16423: Fix t/db_dependent/www/batch.t so it matches new layout

This patch adjusts batch.t so it matches the use of datatables on the
'Manage staged records' page, and small layout changes already fixed
on search_utf8.t.

The tests are slightly modified so they actually test interesting stuff.
Some were passing only because an undefined value was passed.

To test:
- On master, run
  $ prove t/db_dependent/www/batch.t
=> FAIL: Tests fail notably
- Apply the patch
- Run:
  $ prove t/db_dependent/www/batch.t
=> SUCCESS: Notice tests now pass.
- Sign off :-D

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Test pass

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/www/batch.t