remise à jours des fichiers
This commit is contained in:
parent
f7f2574321
commit
68126b1576
@ -1,14 +0,0 @@
|
||||
<?php
|
||||
|
||||
class IndexControllerTest extends Zend_Test_PHPUnit_ControllerTestCase
|
||||
{
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
$this->bootstrap = new Zend_Application(APPLICATION_ENV, APPLICATION_PATH . '/configs/application.ini');
|
||||
parent::setUp();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -1,18 +0,0 @@
|
||||
<?php
|
||||
|
||||
// Define path to application directory
|
||||
defined('APPLICATION_PATH')
|
||||
|| define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application'));
|
||||
|
||||
// Define application environment
|
||||
defined('APPLICATION_ENV')
|
||||
|| define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'testing'));
|
||||
|
||||
// Ensure library/ is on include_path
|
||||
set_include_path(implode(PATH_SEPARATOR, array(
|
||||
realpath(APPLICATION_PATH . '/../library'),
|
||||
get_include_path(),
|
||||
)));
|
||||
|
||||
require_once 'Zend/Loader/Autoloader.php';
|
||||
Zend_Loader_Autoloader::getInstance();
|
@ -1,17 +0,0 @@
|
||||
<phpunit bootstrap="./bootstrap.php">
|
||||
<testsuite name="Application Test Suite">
|
||||
<directory>./application</directory>
|
||||
</testsuite>
|
||||
<testsuite name="Library Test Suite">
|
||||
<directory>./library</directory>
|
||||
</testsuite>
|
||||
|
||||
<filter>
|
||||
<!-- If Zend Framework is inside your project's library, uncomment this filter -->
|
||||
<!--
|
||||
<whitelist>
|
||||
<directory suffix=".php">../../library/Zend</directory>
|
||||
</whitelist>
|
||||
-->
|
||||
</filter>
|
||||
</phpunit>
|
Loading…
Reference in New Issue
Block a user