mirror of
https://github.com/flarum/core.git
synced 2025-07-31 13:40:20 +02:00
chore: simplify container binding
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
@@ -169,7 +169,7 @@ class CreateTest extends TestCase
|
||||
public function can_create_discussion_with_forum_locale_transliteration()
|
||||
{
|
||||
// Forum default is traditional Chinese.
|
||||
$this->app()->getContainer()->make('flarum.settings')->set('default_locale', 'zh');
|
||||
$this->setting('default_locale', 'zh');
|
||||
// Actor locale is English
|
||||
$this->app()->getContainer()->make('flarum.locales')->setLocale('en');
|
||||
|
||||
|
Reference in New Issue
Block a user