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. 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. 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
- 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