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)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 1 Jul 2016 06:37:36 +0000 (08:37 +0200)
commitd1dff4c3bde88c2b7c2bb6722ef07d1fcf5f5cce
tree31475484937975ff87fe0ec0d70bd436c92b7e92
parente41863bfa9bf73066d2ec43a3b8e843fa1f0222f
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>
(cherry picked from commit 64382be0d45ad6d43bb86bda095ca1a3699d1265)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
t/db_dependent/Plugins.t