Fixing content type ordering when content_type is not defined.
[akelos.git] / script / test
blob36743d90b0cb5e85d1bd3c3d49fa1637c08ed34f
1 #!/usr/bin/env php
2 <?php
4 error_reporting(E_ALL);
5 defined('AK_TEST_DATABASE_ON') ? null : define('AK_TEST_DATABASE_ON', true);
6 defined('AK_ACTIVE_RECORD_PROTECT_GET_RECURSION') ? null : define('AK_ACTIVE_RECORD_PROTECT_GET_RECURSION', false);
7 require_once(dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'test'.DIRECTORY_SEPARATOR.'fixtures'.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php');
8 $argv = array_map('trim',$argv);
9 array_shift($argv);
10 $tests_dir = realpath(dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'test');
11 require_once(AK_LIB_DIR.DS.'utils'.DS.'scripts'.DS.'test.php');