mirror of
https://github.com/flarum/framework.git
synced 2025-04-24 21:54:04 +08:00
fix: update test to reflect changes to slug transliteration
This commit is contained in:
parent
899b931b89
commit
5e2f952fe6
@ -138,7 +138,8 @@ class CreateTest extends TestCase
|
||||
*/
|
||||
public function can_create_discussion_with_current_lang_slug_transliteration()
|
||||
{
|
||||
$this->app()->getContainer()->make('flarum.locales')->setLocale('zh');
|
||||
// Forum default is traditional Chinese.
|
||||
$this->app()->getContainer()->make('flarum.settings')->set('default_locale', 'zh');
|
||||
|
||||
$response = $this->send(
|
||||
$this->request('POST', '/api/discussions', [
|
||||
|
Loading…
x
Reference in New Issue
Block a user