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)
committerFrédéric Demians <f.demians@tamil.fr>
Fri, 24 Jun 2016 05:25:00 +0000 (07:25 +0200)
commit64382be0d45ad6d43bb86bda095ca1a3699d1265
tree14b19a0129943765f40b443609248a1c3984173b
parent0632256c1aca919ec055dd5f170ac10d84cc8ec7
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>
(cherry picked from commit 6ad5770786c6646ce68ffdfec9080645fc25772e)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
t/db_dependent/Plugins.t