File tree Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -93,13 +93,7 @@ protected function setUp(): void
9393 $ this ->factory ->reset ();
9494 $ this ->config = $ this ->factory ->Config (CONFIG_XML );
9595 $ database = $ this ->config ->getSetting ('database ' );
96- $ this ->DB = $ this ->factory ->database (
97- $ database ['database ' ],
98- $ database ['username ' ],
99- $ database ['password ' ],
100- $ database ['host ' ],
101- true ,
102- );
96+ $ this ->DB = $ this ->factory ->database ();
10397
10498 $ this ->factory ->setDatabase ($ this ->DB );
10599 $ this ->factory ->setConfig ($ this ->config );
Original file line number Diff line number Diff line change @@ -290,13 +290,7 @@ protected function setUp(): void
290290 $ this ->_factory ->reset ();
291291 $ this ->_configMock = $ this ->_factory ->Config (CONFIG_XML );
292292 $ database = $ this ->_configMock ->getSetting ('database ' );
293- $ this ->_dbMock = $ this ->_factory ->database (
294- $ database ['database ' ],
295- $ database ['username ' ],
296- $ database ['password ' ],
297- $ database ['host ' ],
298- true
299- );
293+ $ this ->_dbMock = $ this ->_factory ->database ();
300294
301295 $ mockconfig = $ this ->getMockBuilder ('NDB_Config ' )->getMock ();
302296 $ mockdb = $ this ->getMockBuilder ('Database ' )->getMock ();
You can’t perform that action at this time.
0 commit comments