root/events/phpframework/akelos/trunk/script/test @ 21114

Revision 21114, 0.6 kB (checked in by gen, 6 years ago)

admin plugin test

  • Property svn:executable set to *
Line 
1#!/usr/bin/env php
2<?php
3
4error_reporting(E_ALL);
5defined('AK_TEST_DATABASE_ON') ? null : define('AK_TEST_DATABASE_ON', true);
6defined('AK_ACTIVE_RECORD_PROTECT_GET_RECURSION') ? null : define('AK_ACTIVE_RECORD_PROTECT_GET_RECURSION', false);
7require_once(dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'test'.DIRECTORY_SEPARATOR.'fixtures'.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php');
8$argv = array_map('trim',$argv);
9array_shift($argv);
10$tests_dir = realpath(dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'test');
11require_once(AK_LIB_DIR.DS.'utils'.DS.'scripts'.DS.'test.php');
12
13?>
Note: See TracBrowser for help on using the browser.