$this->app
->shouldReceive('getCurrentTheme')
->andReturn('Smarty3');
-
+ $this->app->shouldReceive('setThemeInfoValue')
+ ->with('videowidth')
+ ->andReturn(425);
+ $this->app->shouldReceive('setThemeInfoValue')
+ ->with('videoheight')
+ ->andReturn(350);
+
DI::init($this->dice);
if ($raw) {
parent::setUp();
$this->setUpVfsDir();
$this->mockApp($this->root);
- $this->app->setThemeInfoValue('videowidth', 425);
- $this->app->setThemeInfoValue('videoheight', 350);
$this->configMock->shouldReceive('get')
->with('system', 'no_smilies')
->andReturn(false);
parent::setUp();
$this->setUpVfsDir();
$this->mockApp($this->root);
- $this->app->setThemeInfoValue('videowidth', 425);
- $this->app->setThemeInfoValue('videoheight', 350);
$this->configMock->shouldReceive('get')
->with('system', 'remove_multiplicated_lines')
->andReturn(false);