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 14
14
use chillerlan \bbcode \Modules \DB \DBBaseModule ;
15
15
use chillerlan \bbcode \Parser ;
16
16
use chillerlan \bbcode \ParserOptions ;
17
- use chillerlan \Database \DBOptions ;
18
- use chillerlan \Database \Drivers \MySQLi \MySQLiDriver ;
19
17
use PHPUnit \Framework \TestCase ;
20
18
21
19
class DBModuleTest extends TestCase{
@@ -29,8 +27,8 @@ protected function setUp(){
29
27
$ options = new ParserOptions ;
30
28
$ options ->baseModuleInterface = DBBaseModule::class;
31
29
32
- $ options ->DBDriver = MySQLiDriver::class;
33
- $ options ->DBOptions = new DBOptions ();
30
+ # $options->DBDriver = MySQLiDriver::class;
31
+ # $options->DBOptions = new DBOptions();
34
32
35
33
$ options ->allow_all = true ;
36
34
$ this ->parser = new Parser ($ options );
Original file line number Diff line number Diff line change 15
15
use chillerlan \bbcode \Parser ;
16
16
use chillerlan \bbcode \ParserOptions ;
17
17
use chillerlan \bbcodeTest \Includes \Modules \HTML5TestBase ;
18
- use Dotenv \ Dotenv ;
18
+ use chillerlan \ Traits \ DotEnv ;
19
19
20
20
/**
21
21
* Class VideoTest
22
22
*/
23
23
class VideoTest extends HTML5TestBase{
24
24
25
25
protected function setUp (){
26
- (new Dotenv (self ::TESTDIR , self ::DOTENV ))->load ();
26
+ (new DotEnv (self ::TESTDIR , self ::DOTENV ))->load ();
27
27
28
28
$ options = new ParserOptions ;
29
29
$ options ->google_api_key = getenv ('GOOGLE_API ' );
You can’t perform that action at this time.
0 commit comments