Merge pull request #10548 from annando/args
Replaced argv/argc with replacement functions
This commit is contained in:
commit
3cef3ab107
56 changed files with 331 additions and 347 deletions
|
@ -24,8 +24,6 @@ class SmiliesTest extends MockedTest
|
|||
parent::setUp();
|
||||
$this->setUpVfsDir();
|
||||
$this->mockApp($this->root);
|
||||
$this->app->videowidth = 425;
|
||||
$this->app->videoheight = 350;
|
||||
$this->configMock->shouldReceive('get')
|
||||
->with('system', 'no_smilies')
|
||||
->andReturn(false);
|
||||
|
|
|
@ -40,8 +40,6 @@ class BBCodeTest extends MockedTest
|
|||
parent::setUp();
|
||||
$this->setUpVfsDir();
|
||||
$this->mockApp($this->root);
|
||||
$this->app->videowidth = 425;
|
||||
$this->app->videoheight = 350;
|
||||
$this->configMock->shouldReceive('get')
|
||||
->with('system', 'remove_multiplicated_lines')
|
||||
->andReturn(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue