First Local Commit - After Clean up.
Signed-off-by: Rick Hays <rhays@haysgang.com>
This commit is contained in:
11
tests/_support/MockCodeIgniter.php
Normal file
11
tests/_support/MockCodeIgniter.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php namespace Tests\Support;
|
||||
|
||||
use CodeIgniter\CodeIgniter;
|
||||
|
||||
class MockCodeIgniter extends CodeIgniter
|
||||
{
|
||||
protected function callExit($code)
|
||||
{
|
||||
// Do not call exit() in testing.
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user