From 7c65b2f40ea9242260eac5a746863f5925423861 Mon Sep 17 00:00:00 2001 From: Fabio Bas <ctrlaltca@gmail.com> Date: Sun, 22 Sep 2013 22:39:41 +0200 Subject: Phing: added target for phpunit+selenium Functional tests were using an old selenium RC version. Ported them to use phpunit + selenium; next: opensauce --- tests/unit/bootstrap.php | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 tests/unit/bootstrap.php (limited to 'tests/unit') diff --git a/tests/unit/bootstrap.php b/tests/unit/bootstrap.php deleted file mode 100644 index 97836012..00000000 --- a/tests/unit/bootstrap.php +++ /dev/null @@ -1,20 +0,0 @@ -<?php -/** - * A few common settings for all unit tests. - * - * Also remember do define the @package attribute for your test class to make it appear under - * the right package in unit test and code coverage reports. - */ - -define('PRADO_TEST_RUN', true); -define('PRADO_FRAMEWORK_DIR', dirname(__FILE__).'/../../framework'); -define('VENDOR_DIR', dirname(__FILE__).'/../../vendor'); -set_include_path(PRADO_FRAMEWORK_DIR.PATH_SEPARATOR.get_include_path()); - -if (!@include_once VENDOR_DIR.'/autoload.php') { - die('You must set up the project dependencies, run the following commands: - wget http://getcomposer.org/composer.phar - php composer.phar install'); -} - -require_once(PRADO_FRAMEWORK_DIR.'/prado.php'); \ No newline at end of file -- cgit v1.2.3