Abel Hoogeveen
5df6b733d0
The following tests for classes have been implemented: - Security - Input - Encryption Library - Utf8 A mocking autoloader has been added (but is not yet configured correctly)
21 lines
273 B
PHP
21 lines
273 B
PHP
<?php
|
|
|
|
use FuzeWorks\Utf8;
|
|
|
|
class Mock_Core_Utf8 extends Utf8 {
|
|
|
|
/**
|
|
* We need to define UTF8_ENABLED the same way that
|
|
* CI_Utf8 constructor does.
|
|
*/
|
|
public function __construct()
|
|
{
|
|
if (defined('UTF8_ENABLED'))
|
|
{
|
|
return;
|
|
}
|
|
|
|
parent::__construct();
|
|
}
|
|
|
|
} |