diff --git a/README.md b/README.md index 6e333aa72af8..b7575541f627 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 89f3afaacb97..e0c4c66ce8bb 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 8624ca4e5bc3..b8698ed93265 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']);