This repository has been archived on 2024-12-01. You can view files and clone it, but cannot push or open issues or pull requests.
factuges_web/www/protected/tests/WebTestCase.php
david e93adbdd4e - Importación inicial
- Registro, activación y entrada de usuarios


git-svn-id: https://192.168.0.254/svn/Rodax.factuges_web/trunk@2 e455b18d-f7fe-5245-9c43-e2c35af70a32
2013-06-13 16:04:48 +00:00

32 lines
960 B
PHP

<?php
/**
* Change the following URL based on your server configuration
* Make sure the URL ends with a slash so that we can use relative URLs in test cases
*/
define('TEST_BASE_URL', 'http://localhost/factuges/index-test.php/');
/**
* The base class for functional test cases.
* In this class, we set the base URL for the test application.
* We also provide some common methods to be used by concrete test classes.
*/
class WebTestCase extends CWebTestCase {
//protected $collectCodeCoverageInformation = TRUE;
protected $captureScreenshotOnFailure = TRUE;
protected $screenshotPath = 'C:\FactuGES\www\protected\tests\screenshots';
protected $screenshotUrl = 'http://localhost/screenshots';
/**
* Sets up before each test method runs.
* This mainly sets the base URL for the test application.
*/
protected function setUp() {
parent::setUp();
$this->setBrowserUrl(TEST_BASE_URL);
}
}