Bug 16829: Unit tests for logaction's 'interface parameter'
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 1 Jul 2016 21:53:00 +0000 (18:53 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 17 Aug 2016 18:01:50 +0000 (18:01 +0000)
commit3a7aaf1339247689405e769349faaca6fe359950
tree19ef7ffc0caa71c4b09a31c822d03d5e9f59f5ea
parent25cdf478958b4fd6c0e6d2510dce4963cf183f29
Bug 16829: Unit tests for logaction's 'interface parameter'

This patch introduces tests for the new 'interface' parameter for the
C4::Log::logaction and C4::Log::GetLogs functions.

In logaction, it falls back to C4::Context->interface if ommited.

To test:
- Run
  $ prove t/db_dependent/Log.t
=> SUCCESS: Tests pass
- Sign off

Sponsored-by: NEKLS
Signed-off-by: Nicole C Engard <nengard@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/Log.t