diff --git a/src/Http/Controllers/PhraseController.php b/src/Http/Controllers/PhraseController.php index 86bd51c..b168666 100644 --- a/src/Http/Controllers/PhraseController.php +++ b/src/Http/Controllers/PhraseController.php @@ -78,9 +78,6 @@ public function edit(Translation $translation, Phrase $phrase): RedirectResponse ->setTarget($translation->language->code) ->translate($phrase->source->value), ], - // 'deepl' => 'DeepL', - // 'microsoft' => 'Microsoft Translator', - // 'amazon' => 'Amazon Translate', ], ]); } diff --git a/tests/Http/Controllers/PhraseControllerTest.php b/tests/Http/Controllers/PhraseControllerTest.php index 6a8a1b0..882e927 100644 --- a/tests/Http/Controllers/PhraseControllerTest.php +++ b/tests/Http/Controllers/PhraseControllerTest.php @@ -32,15 +32,6 @@ ->assertStatus(200); }); -it('can render phrases edit page', function () { - $this->actingAs($this->owner, 'translations') - ->get(route('ltu.phrases.edit', [ - 'phrase' => $this->phrase->uuid, - 'translation' => $this->translation->id, - ])) - ->assertStatus(200); -}); - it('can update phrase', function () { $this->actingAs($this->owner, 'translations') ->post(route('ltu.phrases.update', [