Tweak test

This commit is contained in:
Pig Fang 2019-09-08 19:39:32 +08:00
parent 7dd7bb0adc
commit 0d5864106d

View File

@ -58,7 +58,9 @@ class TranslationsControllerTest extends TestCase
'key' => 'submit',
'text' => 'submit',
])->assertRedirect('/admin/i18n');
$this->get('/admin/i18n')->assertSee(trans('admin.i18n.added'));
$this->get('/admin/i18n')
->assertSee(trans('admin.i18n.added'))
->assertSessionMissing('success');
}
public function testUpdate()