Language editor refactoring part 2 (backend + frontend)

This commit is contained in:
Peter Papp
2021-03-28 14:06:16 +02:00
parent ec51440c3a
commit 6ac6528243
44 changed files with 595 additions and 3380 deletions

View File

@@ -205,6 +205,20 @@ class LanguageEditorTest extends TestCase
]);
}
/**
* @test
*/
public function it_get_language_translations_for_frontend()
{
$this->setup->seed_default_language();
$this->getJson("/translations/en")
->assertStatus(200)
->assertJsonFragment([
"actions.close" => "Close",
]);
}
/**
* @test
*/