From ffc406bff1c7014a9562b0b896e95e66fce66a4f Mon Sep 17 00:00:00 2001 From: Chiko Date: Wed, 1 Jul 2020 13:04:53 +0200 Subject: [PATCH 1/4] Update testing.blade.md (#58) * Update testing.blade.md Added call to parent's setUp() method others some essential operations will not be run e.g resetting of db, etc. * Reindent Co-authored-by: Samuel Stancl --- source/docs/v3/testing.blade.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/docs/v3/testing.blade.md b/source/docs/v3/testing.blade.md index 5fa142b..393eb1b 100644 --- a/source/docs/v3/testing.blade.md +++ b/source/docs/v3/testing.blade.md @@ -27,6 +27,8 @@ class TestCase // extends ... public function setUp(): void { + parent::setUp(); + if ($this->tenancy) { $this->initializeTenancy(); } @@ -57,4 +59,4 @@ class FooTest extends TestCase } ``` -Or you may want to create a separate TestCase class for tenant tests, for better organization. \ No newline at end of file +Or you may want to create a separate TestCase class for tenant tests, for better organization. From 4d88c4bc0fe7c6a614bbdca75cfe59d2f53a33c2 Mon Sep 17 00:00:00 2001 From: Odunayo Ogungbure Date: Sat, 4 Jul 2020 15:49:11 +0100 Subject: [PATCH 2/4] Remove the :3.x-dev suffix in the quick start tutorial (#59) --- source/docs/v3/quickstart.blade.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/docs/v3/quickstart.blade.md b/source/docs/v3/quickstart.blade.md index 4e7e8c6..4b94824 100644 --- a/source/docs/v3/quickstart.blade.md +++ b/source/docs/v3/quickstart.blade.md @@ -15,11 +15,9 @@ We recommend following this tutorial just **to get things working** so that you First, require the package using composer: ```php -composer require stancl/tenancy:3.x-dev +composer require stancl/tenancy ``` -After stable 3.x is released, update your version constraint by running `composer require stancl/tenancy:^3.0` - Then, run the `tenancy:install` command: ```php @@ -178,4 +176,4 @@ App\Tenant::all()->runForEach(function () { ## Trying it out -Now we visit `foo.localhost` in our browser and we should see a dump of the users table where we see some user. If we visit `bar.localhost`, we should see a different user. \ No newline at end of file +Now we visit `foo.localhost` in our browser and we should see a dump of the users table where we see some user. If we visit `bar.localhost`, we should see a different user. From 19204fba26fedcdeb0006857497e624db0844e12 Mon Sep 17 00:00:00 2001 From: Samuel Stancl Date: Mon, 6 Jul 2020 17:38:14 +0200 Subject: [PATCH 3/4] Update star count --- source/index.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/index.blade.php b/source/index.blade.php index 66f0adb..1a55fea 100644 --- a/source/index.blade.php +++ b/source/index.blade.php @@ -452,7 +452,7 @@ fill="none" viewBox="0 0 404 784"> Stars on GitHub
- 900+ + 1000+
-@endsection \ No newline at end of file +@endsection From 744dd05d0b1e6691ddec3262d589b4dca1a525a9 Mon Sep 17 00:00:00 2001 From: Samuel Stancl Date: Mon, 6 Jul 2020 21:40:14 +0200 Subject: [PATCH 4/4] remove "coming" message about ploi integration --- source/saas-boilerplate.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/saas-boilerplate.blade.php b/source/saas-boilerplate.blade.php index 2efef68..8770114 100644 --- a/source/saas-boilerplate.blade.php +++ b/source/saas-boilerplate.blade.php @@ -82,7 +82,7 @@
Ploi integration

- Integration with ploi.io. Automatic creation of vhosts and HTTPS certificates when customers add domains. (Coming by the end of the week.) + Integration with ploi.io. Automatic creation of vhosts and HTTPS certificates when customers add domains.

@@ -565,4 +565,4 @@ -@endsection \ No newline at end of file +@endsection