Testing: class 'SQLite3' not found |
I'm using CI 4.0 (latest).
I try testing using PHPUnit. installed offline, not using composer. Using Code: ControllerTester Using FeatureTestCase however, not work and says class 'SQLite3' not found. When I see trace result, it points to PHP Code: \system\Database\SQLite3\Connection.php:89: 'new \SQLite3($this->database)' This should be SQLite3 class from php extension because it has root namespace. Normal page using that class is working. Using PHPUnit on CI4.0 is not. I just test using simple page using PHP Code: $db = new \SQLite3($path); How do i resolve this? |
Messages In This Thread |
Testing: class 'SQLite3' not found - by anthos1984 - 03-17-2020, 03:13 PM
RE: Testing: class 'SQLite3' not found - by captain-sensible - 03-18-2020, 03:04 AM
RE: Testing: class 'SQLite3' not found - by anthos1984 - 03-18-2020, 04:09 PM
RE: Testing: class 'SQLite3' not found - by jreklund - 03-19-2020, 01:18 PM
RE: Testing: class 'SQLite3' not found - by anthos1984 - 03-19-2020, 09:23 PM
RE: Testing: class 'SQLite3' not found - by jreklund - 03-20-2020, 12:17 AM
|