]> git.koha-community.org Git - koha.git/commit
Bug 15339: TestBuilder warnings (code)
authorMartin Persson <xarragon@gmail.com>
Tue, 8 Dec 2015 19:55:01 +0000 (20:55 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 7 Sep 2017 16:35:06 +0000 (13:35 -0300)
commitebd1039bbdb041c7691eaaa2a977af9cd1687d3e
treeb0037df11e16106c00ad7477f418a0062c8fa3ed
parent0c6538f033f43cde33d186561a93a197467bd9a1
Bug 15339: TestBuilder warnings (code)

Makes TestBuilder::build() alert the user when unreognized
parameters are passed, which happens when the user supplies
the column values directly, forgetting the 'value' hash.

This patch holds the code changes. Examples of the kind of
errors that it catches are in the tests (separate patch).

Sponsored-By: Halland County Library
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/lib/TestBuilder.pm