[Koha-bugs] [Bug 35507] TestBuilder.t is failing randomly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 12 14:16:18 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35507

--- Comment #18 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Weird stuff. Debugging Plugins.t gives me the following:

Between those two lines:

[1] my $classname = ref($plugin);

AND 

[2] like( $plugin->test_template($fn), qr/^I am $fn/, 'Template works' );

There must be an implicit commit somewhere. If you end on the classname line,
you will have no committed data, after the test_template line you have.

Note that test_template calls get_template_and_user (and checkauth etc) in
C4/Auth. Somewhere we commit the changes in plugin_data and plugin_methods.

This is costing me too much time now to continue. Sorry ;)
Assistance appreciated..

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list