Bug 16502: Adjust test for GetPlugins
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 23 May 2016 06:58:02 +0000 (08:58 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 17 Jun 2016 14:32:40 +0000 (14:32 +0000)
commit6ad5770786c6646ce68ffdfec9080645fc25772e
treeb589b0264609d299ba08bd027837706636a82c9a
parent959d69fa0107423ed31e20f4a6afb46d1e5c771c
Bug 16502: Adjust test for GetPlugins

The current test assumes that GetPlugins will return the test plugin
as the first one in the array. This is not correct.
This patch adjusts the test to a grep.

Test plan:
Run the test.
Bonus: Add additional plugins. Run the test again.

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/Plugins.t