diff --git a/system/Debug/Exceptions.php b/system/Debug/Exceptions.php index 8e83bc0627f7..79f87ae5d460 100755 --- a/system/Debug/Exceptions.php +++ b/system/Debug/Exceptions.php @@ -35,7 +35,7 @@ * @filesource */ -require_once dirname(__FILE__).'/CustomExceptions.php'; +require dirname(__FILE__).'/CustomExceptions.php'; class Exceptions { diff --git a/tests/CLI/CLITest.php b/tests/CLI/CLITest.php new file mode 100644 index 000000000000..4c9ee830ddee --- /dev/null +++ b/tests/CLI/CLITest.php @@ -0,0 +1,10 @@ +assertInstanceOf(CLI::class, $actual); + } +} diff --git a/tests/Debug/ExceptionsTest.php b/tests/Debug/ExceptionsTest.php new file mode 100644 index 000000000000..a80e31619cc6 --- /dev/null +++ b/tests/Debug/ExceptionsTest.php @@ -0,0 +1,10 @@ +assertInstanceOf(Exceptions::class, $actual); + } +}