Getter/Setter for theme info

This commit is contained in:
Michael 2021-07-25 19:39:10 +00:00
parent c52b8595e8
commit 5a87ccf026
13 changed files with 57 additions and 28 deletions

View file

@ -40,8 +40,8 @@ class BBCodeTest extends MockedTest
parent::setUp();
$this->setUpVfsDir();
$this->mockApp($this->root);
$this->app->theme_info['videowidth'] = 425;
$this->app->theme_info['videoheight'] = 350;
$this->app->setThemeInfoValue('videowidth', 425);
$this->app->setThemeInfoValue('videoheight', 350);
$this->configMock->shouldReceive('get')
->with('system', 'remove_multiplicated_lines')
->andReturn(false);