From 80187189d228d95c014084e0646e85ef6ff9abc5 Mon Sep 17 00:00:00 2001 From: Dimitris Savvopoulos Date: Fri, 1 Sep 2017 20:39:08 +0200 Subject: [PATCH] Updated changelog, readme and added assertion so that phpunit won't complaint. --- changelog.md | 4 ++++ readme.md | 1 + tests/TestCoreModelExtension.php | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 7ab1dd6..8898ff2 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ ## Version History +### v. 8.0 + +- Added support for Laravel 5.5 #394 + ### v. 7.3 - Added compatibility with custom db connections. #366 diff --git a/readme.md b/readme.md index cb694b2..2cd3481 100644 --- a/readme.md +++ b/readme.md @@ -72,6 +72,7 @@ This is a Laravel package for translatable models. Its goal is to remove the com Laravel | Translatable :---------|:---------- + 5.5 | 8.0 5.4 | 7.* 5.3 | 6.* 5.2 | 5.5 - 6.* diff --git a/tests/TestCoreModelExtension.php b/tests/TestCoreModelExtension.php index 947c06c..2aec0ae 100644 --- a/tests/TestCoreModelExtension.php +++ b/tests/TestCoreModelExtension.php @@ -160,7 +160,7 @@ public function test_to_array_wont_break_if_no_translations_exist() { $country = new Country(['code' => 'test']); $country->save(); - $country->toArray(); + $this->assertArrayHasKey('code', $country->toArray()); } // Forms