mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 04:47:10 +08:00
Squashed 'public/legacy/' content from commit 817a12dc0
git-subtree-dir: public/legacy git-subtree-split: 817a12dc0c30c189f56d5cb1f7dc37a9631bdbe3
This commit is contained in:
commit
8e4cc94994
9769 changed files with 1617695 additions and 0 deletions
13
tests/api/_bootstrap.php
Normal file
13
tests/api/_bootstrap.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
/* bootstrap composer's autoloader */
|
||||
require_once __DIR__.'/../../vendor/autoload.php';
|
||||
global $sugar_config, $db;
|
||||
require_once __DIR__ .'/../../include/utils.php';
|
||||
require_once __DIR__ .'/../../include/modules.php';
|
||||
require_once __DIR__ .'/../../include/entryPoint.php';
|
||||
//Oddly entry point loads app_strings but not app_list_strings, manually do this here.
|
||||
$GLOBALS['current_language'] = 'en_us';
|
||||
$GLOBALS['app_list_strings'] = return_app_list_strings_language($GLOBALS['current_language']);
|
||||
|
||||
/* VERY BAD :-( - but for now at least tests are running */
|
||||
$GLOBALS['sugar_config']['resource_management']['default_limit'] = 999999;
|
Loading…
Add table
Add a link
Reference in a new issue