created mocks for testing

This commit is contained in:
Guillermo Dev
2018-10-13 18:00:51 +02:00
parent e53debb98d
commit 1211af09cc
26 changed files with 412 additions and 118 deletions

View File

@@ -24,8 +24,9 @@ return array(
'path' => 'solr/',
'result_count' => 10,
),
'renderer' => array('class' => '\BSR\Webservice\MockRenderer'),
'log' => array(
'file' => '/var/www/webservice/logs/log.txt',
'file' => realpath(dirname(__FILE__) . '/..') . '/log/log.txt',
'format' => '%ip% - [%date%] - %status% %error% - %time% - %func%',
// The greater the verbosity, the more is displayed
// 0 : no log at all