LDAP Server Type: [e.g. ActiveDirectory / OpenLDAP / FreeIPA]
LdapRecord-Laravel Major Version: [e.g. v1, v2]
PHP Version: [e.g. 7.3 / 7.4 / 8.0]
Describe the bug:
Hello, I'm working on an application that uses Ldaprecord and to be able to test the authentication part, I wanted to use the Testing part with DirectoryEmulator.
However, I'm getting an error about a driver that can't be found. I used the example in the documentation.
• Tests\Feature\Auth\LdapLoginTest > auth works
Illuminate\Database\QueryException
could not find driver (SQL: select * from sqlite_master where type = 'table' and name = ldap_objects)
vendor\laravel\framework\src\Illuminate\Database\Connection.php:760
756▕ // If an exception occurs when attempting to run a query, we'll format the error
757▕ // message to include the bindings with SQL, which will make this exception a
758▕ // lot more helpful to the developer instead of just the database's errors.
759▕ catch (Exception $e) {
➜ 760▕ throw new QueryException(
761▕ $query, $this->prepareBindings($bindings), $e
762▕ );
763▕ }
764▕
1
vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70
PDOException::("could not find driver")
2 vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70
PDO::__construct("sqlite::memory:", [])
Environment:
Describe the bug: Hello, I'm working on an application that uses Ldaprecord and to be able to test the authentication part, I wanted to use the Testing part with DirectoryEmulator. However, I'm getting an error about a driver that can't be found. I used the example in the documentation.
The error