properties.sample.inc.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. /**
  3. * MODX Revolution
  4. *
  5. * Copyright 2006-2011 by MODX, LLC.
  6. * All rights reserved.
  7. *
  8. * This program is free software; you can redistribute it and/or modify it under
  9. * the terms of the GNU General Public License as published by the Free Software
  10. * Foundation; either version 2 of the License, or (at your option) any later
  11. * version.
  12. *
  13. * This program is distributed in the hope that it will be useful, but WITHOUT
  14. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  15. * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
  16. * details.
  17. *
  18. * You should have received a copy of the GNU General Public License along with
  19. * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
  20. * Place, Suite 330, Boston, MA 02111-1307 USA
  21. *
  22. * @package login
  23. * @subpackage test
  24. */
  25. /**
  26. * Sample properties file for testing.
  27. *
  28. * @package login
  29. * @subpackage test
  30. */
  31. $properties = array(
  32. xPDO::OPT_CACHE_PATH => MODX_CORE_PATH.'cache/',
  33. xPDO::OPT_HYDRATE_FIELDS => true,
  34. xPDO::OPT_HYDRATE_RELATED_OBJECTS => true,
  35. xPDO::OPT_HYDRATE_ADHOC_FIELDS => true,
  36. );
  37. /* PHPUnit test config */
  38. $properties['modx_test_path'] = dirname(__FILE__) . '/';
  39. $properties['modx_config_path'] = '';
  40. $properties['logLevel']= modX::LOG_LEVEL_INFO;
  41. $properties['ctx'] = 'web';
  42. $properties['debug'] = false;
  43. $properties['email'] = 'my@email.com';