https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16502
--- Comment #4 from Marcel de Rooy <[email protected]> --- (In reply to Srdjan Jankovic from comment #3) > There's something odd with that t/db_dependent/Plugins.t. ... > and I'm getting > not ok 18 - Koha::Plugins::GetPlugins functions correctly > # Failed test 'Koha::Plugins::GetPlugins functions correctly' > # at t/db_dependent/Plugins.t line 46. > # got: 'Example Kitchen-Sink Plugin' > # expected: 'Test Plugin' Srdjan, I made the same change and it seems to work with me. But actually this test is based on the assumption that GetPlugins always finds the Test Plugin first. Which could very well not be the case. Since there can be a lot of plugins present, the test should only verify if the Test Plugin is in the array. Also note that the array is not sorted by the routine, so this should have been taken in account too. Adding a follow-up. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
