From 2120d9844b28e2fcde144f40ed3cfdef1a7ee12e Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 28 Jun 2020 20:38:41 +1000 Subject: [PATCH] Fixes for fillable properties --- README.md | 2 +- app/Models/Company.php | 1 + tests/Unit/SystemHealthTest.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6e333aa72..b7575541f 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![codecov](https://codecov.io/gh/invoiceninja/invoiceninja/branch/v2/graph/badge.svg)](https://codecov.io/gh/invoiceninja/invoiceninja) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/d39acb4bf0f74a0698dc77f382769ba5)](https://www.codacy.com/app/turbo124/invoiceninja?utm_source=github.com&utm_medium=referral&utm_content=invoiceninja/invoiceninja&utm_campaign=Badge_Grade) -# Invoice Ninja version 2.0 is coming! +# Invoice Ninja version 5 is coming! We will be using the lessons learnt in Invoice Ninja 4.0 to build a bigger better platform to work from. If you would like to contribute to the project we will gladly accept contributions for code, user guides, bug tracking and feedback! Please consider the following guidelines prior to submitting a pull request: diff --git a/app/Models/Company.php b/app/Models/Company.php index 89f3afaac..e0c4c66ce 100644 --- a/app/Models/Company.php +++ b/app/Models/Company.php @@ -96,6 +96,7 @@ class Company extends BaseModel 'first_month_of_year', 'slack_webhook_url', 'google_analytics_key', + 'client_can_register', ]; diff --git a/tests/Unit/SystemHealthTest.php b/tests/Unit/SystemHealthTest.php index 8624ca4e5..b8698ed93 100644 --- a/tests/Unit/SystemHealthTest.php +++ b/tests/Unit/SystemHealthTest.php @@ -26,7 +26,7 @@ class SystemHealthTest extends TestCase $this->assertTrue(count($results) > 1); - $this->assertTrue($results['system_health']); + $this->assertTrue((bool)$results['system_health']); $this->assertTrue($results['extensions'][0]['mysqli']); $this->assertTrue($results['extensions'][1]['gd']);