mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-12 01:32:23 +03:00
27 lines
510 B
PHP
27 lines
510 B
PHP
<?php
|
|
|
|
namespace Tests;
|
|
|
|
use CI_Controller;
|
|
use EA_Controller;
|
|
use PHPUnit\Framework\TestCase as PHPUnitTestCase;
|
|
|
|
/**
|
|
* Parent test case sharing common test functionality.
|
|
*/
|
|
class TestCase extends PHPUnitTestCase {
|
|
/**
|
|
* @var EA_Controller|CI_Controller
|
|
*/
|
|
private static EA_Controller|CI_Controller $CI;
|
|
|
|
/**
|
|
* Load the framework instance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public static function setUpBeforeClass(): void
|
|
{
|
|
self::$CI =& get_instance();
|
|
}
|
|
}
|