From 86aea694924fbc532a6454ccc8dbddc576b40ba6 Mon Sep 17 00:00:00 2001 From: kenjis Date: Tue, 15 Mar 2016 19:59:48 +0900 Subject: [PATCH] Revert require_once to require --- system/Debug/Exceptions.php | 2 +- tests/CLI/CLITest.php | 10 ++++++++++ tests/Debug/ExceptionsTest.php | 10 ++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 tests/CLI/CLITest.php create mode 100644 tests/Debug/ExceptionsTest.php 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); + } +}