first commit
This commit is contained in:
19
modules/ps_facetedsearch/tests/php/bootstrap.php
Normal file
19
modules/ps_facetedsearch/tests/php/bootstrap.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
// FacetedSearch autoloader
|
||||
require __DIR__ . '/../../vendor/autoload.php';
|
||||
|
||||
require_once __DIR__ . '/FacetedSearch/MockProxy.php';
|
||||
require_once __DIR__ . '/FacetedSearch/Mock/Filter.php';
|
||||
require_once __DIR__ . '/FacetedSearch/Mock/Facet.php';
|
||||
require_once __DIR__ . '/FacetedSearch/Interface/WidgetInterface.php';
|
||||
require_once __DIR__ . '/FacetedSearch/Interface/FacetsRendererInterface.php';
|
||||
require_once __DIR__ . '/FacetedSearch/Interface/ProductSearchProviderInterface.php';
|
||||
|
||||
define('_PS_COL_IMG_DIR_', __DIR__ . '/files/');
|
||||
|
||||
// Fake pSQL function
|
||||
function pSQL($string, $htmlOK = false)
|
||||
{
|
||||
return $string;
|
||||
}
|
||||
Reference in New Issue
Block a user