Bug 13554: t/Prices.t shouldn't depend on the DB
authorJonathan Druart <jonathan.druart@biblibre.com>
Mon, 12 Jan 2015 08:35:51 +0000 (09:35 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Sat, 17 Jan 2015 13:30:34 +0000 (10:30 -0300)
commit3b54dbabfe1d5828a543c38829a22390a7a198f2
tree81828c1d6b6c8f7f4917acd8fde0c48224feb5d4
parent9820e40f5d44e3094e253ed9edbf6f45cd2b2c17
Bug 13554: t/Prices.t shouldn't depend on the DB

To reproduce:
- Stop your MySQL server:
  $ sudo service mysql stop
- Run
  $ prove t/Prices.t
=> FAIL: some tests fail because of mysql stopped

To test (MySQL still stopped)
- Apply the patch
- Run
  $ prove t/Prices.t

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/Prices.t