Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
MohmmedAshraf committed Jan 19, 2024
1 parent 8bdbb7e commit 905ebae
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
3 changes: 0 additions & 3 deletions src/Http/Controllers/PhraseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
],
]);
}
Expand Down
9 changes: 0 additions & 9 deletions tests/Http/Controllers/PhraseControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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', [
Expand Down

0 comments on commit 905ebae

Please sign in to comment.