Skip to content

Commit

Permalink
Merge pull request #420 from szepeviktor/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Gummibeer authored Jul 14, 2024
2 parents 979d18d + 72b3ac1 commit 695792b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/TranslatableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -676,14 +676,14 @@ public function can_get_translations_as_array(): void
}

#[Test]
public function fill_will_ignore_unkown_locales(): void
public function fill_will_ignore_unknown_locales(): void
{
config(['translatable.locales' => ['en']]);

$vegetable = new Vegetable();
$vegetable->fill([
'en' => ['name' => 'Peas'],
'ua' => ['name' => 'Unkown'],
'ua' => ['name' => 'unknown'],
]);
$vegetable->save();

Expand All @@ -696,14 +696,14 @@ public function fill_will_ignore_unkown_locales(): void
}

#[Test]
public function fill_will_ignore_unkown_locales_with_translations(): void
public function fill_will_ignore_unknown_locales_with_translations(): void
{
config(['translatable.locales' => ['en']]);

$vegetable = new Vegetable();
$vegetable->fill([
'name:en' => 'Peas',
'name:ua' => 'Unkown',
'name:ua' => 'unknown',
]);

$vegetable->save();
Expand Down

0 comments on commit 695792b

Please # to comment.