PHP 8.1.33
Preview: WebTestCase.php Size: 675 B
/home/jambtst2015/public_html/protected/tests/WebTestCase.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/testdrive/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
{
	/**
	 * 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);
	}
}

Directory Contents

Dirs: 4 × Files: 6

Name Size Perms Modified Actions
fixtures DIR
- drwxr-xr-x 2024-11-22 17:53:11
Edit Download
- drwxr-xr-x 2025-10-15 10:32:09
Edit Download
report DIR
- drwxr-xr-x 2024-11-22 17:53:11
Edit Download
unit DIR
- drwxr-xr-x 2024-11-22 17:53:11
Edit Download
81 B lr--r--r-- 2024-12-09 06:09:12
Edit Download
65.71 KB lr--r--r-- 2023-12-26 06:09:12
Edit Download
270 B lrw-r--r-- 2024-11-22 17:53:11
Edit Download
24.90 KB lrw-r--r-- 2025-11-04 02:12:17
Edit Download
329 B lrw-r--r-- 2024-11-22 17:53:11
Edit Download
675 B lrw-r--r-- 2024-11-22 17:53:11
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).