From 23d57d0e3865ced6e24db7a38428d3d00e13cbb2 Mon Sep 17 00:00:00 2001 From: "Morten D. Hansen" Date: Wed, 2 Mar 2022 19:55:43 +0100 Subject: [PATCH] format was annoying --- tests/Feature/DatabaseTranslationsTest.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/Feature/DatabaseTranslationsTest.php b/tests/Feature/DatabaseTranslationsTest.php index 99dfa27..96fd526 100644 --- a/tests/Feature/DatabaseTranslationsTest.php +++ b/tests/Feature/DatabaseTranslationsTest.php @@ -201,8 +201,12 @@ public function commandRebuildsCache() DatabaseLangItem::where('locale', 'de')->where('key', 'tomato')->update(['value' => 'schnitzel']); $this->assertTrue(\Cache::has(DbTrans::getCacheKey('salad', 'de'))); $this->assertNull(\Cache::get(DbTrans::getCacheKey('salad', 'de'))['tomato']); - $this->assertDatabaseHas('database_lang_items', - ['group' => 'salad', 'locale' => 'de', 'key' => 'tomato', 'value' => 'schnitzel']); + $this->assertDatabaseHas('database_lang_items', [ + 'group' => 'salad', + 'locale' => 'de', + 'key' => 'tomato', + 'value' => 'schnitzel' + ]); // rebuild cache - now cache should be aligned with db $this->artisan('dbtrans:cache-rebuild');