Bug 6254: (follow-up) work-around to fix a failing test case
authorGalen Charlton <gmc@esilibrary.com>
Mon, 26 May 2014 04:19:19 +0000 (04:19 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 26 May 2014 04:19:19 +0000 (04:19 +0000)
commitc4f7164cb92c63043c4877aef79714c5461496c9
tree510f71febed12c93625324ef83cc8535fff319d6
parent5f6f7e002c649ac690a50cd70da889e871f60f8d
Bug 6254: (follow-up) work-around to fix a failing test case

This patch ensures that a patron category that is present
in the (English) sample data is used for the ILS-DI tests,
avoiding a situation where one part of AddMember was trying
to access a patron category via DBIC but failed because
it was not visible to it yet.

Note that this will become easier once C4::Context->dbh
and DBIC are using the same base DBI database handles.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
t/db_dependent/ILSDI_Services.t