uawdijnntqw1x1x1
IP : 216.73.217.77
Hostname : panel.codeskitter.com
Kernel : Linux panel.codeskitter.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
Disable Function : apache_child_terminate, apache_note, apache_setenv, define_syslog_variables, dl, link, opcache_get_status, openlog, pcntl_exec, pcntl_fork, pcntl_setpriority, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
OS : Linux
PATH:
/
home
/
users
/
unlimited
/
www
/
codeskitter
/
project_name
/
.
/
tests
/
_support
/
.
/
..
/
unit
/
HealthTest.php
/
/
<?php use CodeIgniter\Test\CIUnitTestCase; use Config\App; use Tests\Support\Libraries\ConfigReader; /** * @internal */ final class HealthTest extends CIUnitTestCase { public function testIsDefinedAppPath(): void { $this->assertTrue(defined('APPPATH')); } public function testBaseUrlHasBeenSet(): void { $validation = service('validation'); $env = false; // Check the baseURL in .env if (is_file(HOMEPATH . '.env')) { $env = preg_grep('/^app\.baseURL = ./', file(HOMEPATH . '.env')) !== false; } if ($env) { // BaseURL in .env is a valid URL? // phpunit.xml.dist sets app.baseURL in $_SERVER // So if you set app.baseURL in .env, it takes precedence $config = new App(); $this->assertTrue( $validation->check($config->baseURL, 'valid_url'), 'baseURL "' . $config->baseURL . '" in .env is not valid URL', ); } // Get the baseURL in app/Config/App.php // You can't use Config\App, because phpunit.xml.dist sets app.baseURL $reader = new ConfigReader(); // BaseURL in app/Config/App.php is a valid URL? $this->assertTrue( $validation->check($reader->baseURL, 'valid_url'), 'baseURL "' . $reader->baseURL . '" in app/Config/App.php is not valid URL', ); } }
/home/users/unlimited/www/codeskitter/project_name/./tests/_support/./../unit/HealthTest.php