File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1414use chillerlan \bbcode \Modules \DB \DBBaseModule ;
1515use chillerlan \bbcode \Parser ;
1616use chillerlan \bbcode \ParserOptions ;
17- use chillerlan \Database \DBOptions ;
18- use chillerlan \Database \Drivers \MySQLi \MySQLiDriver ;
1917use PHPUnit \Framework \TestCase ;
2018
2119class DBModuleTest extends TestCase{
@@ -29,8 +27,8 @@ protected function setUp(){
2927 $ options = new ParserOptions ;
3028 $ options ->baseModuleInterface = DBBaseModule::class;
3129
32- $ options ->DBDriver = MySQLiDriver::class;
33- $ options ->DBOptions = new DBOptions ();
30+ # $options->DBDriver = MySQLiDriver::class;
31+ # $options->DBOptions = new DBOptions();
3432
3533 $ options ->allow_all = true ;
3634 $ this ->parser = new Parser ($ options );
Original file line number Diff line number Diff line change 1515use chillerlan \bbcode \Parser ;
1616use chillerlan \bbcode \ParserOptions ;
1717use chillerlan \bbcodeTest \Includes \Modules \HTML5TestBase ;
18- use Dotenv \ Dotenv ;
18+ use chillerlan \ Traits \ DotEnv ;
1919
2020/**
2121 * Class VideoTest
2222 */
2323class VideoTest extends HTML5TestBase{
2424
2525 protected function setUp (){
26- (new Dotenv (self ::TESTDIR , self ::DOTENV ))->load ();
26+ (new DotEnv (self ::TESTDIR , self ::DOTENV ))->load ();
2727
2828 $ options = new ParserOptions ;
2929 $ options ->google_api_key = getenv ('GOOGLE_API ' );
You can’t perform that action at this time.
0 commit comments