Bug 15199: t/db_dependent/Review.t should not depend on existing data
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 17 Nov 2015 13:20:39 +0000 (10:20 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 18 Nov 2015 02:45:25 +0000 (23:45 -0300)
commit87e7d5555e604043602de73c46b68d28299aefd9
tree58afbd28acaa4442a639c1f23d68f87686957676
parent87f8d7303c1746078064fb4e34e54a900c59326c
Bug 15199: t/db_dependent/Review.t should not depend on existing data

This patch makes the tests create a branch and a patron category instead
of searching for them on the DB.

To test:
- Apply the patch on current master
- Run
  $ prove t/db_dependent/Review.t
=> SUCCESS: Tests pass
- Sign off

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
All test pass successful

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Review.t