mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-26 08:33:21 +03:00
28 lines
510 B
PHP
28 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();
|
||
|
}
|
||
|
}
|