Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add testing documentation #113

Closed
wants to merge 2 commits into from
Closed

Add testing documentation #113

wants to merge 2 commits into from

Conversation

kylekz
Copy link

@kylekz kylekz commented Mar 12, 2020

As per some issues I've finally sorted out (tenancy/multi-tenant#906), wrote up some documentation on the testing process. I'm not much of a writer, nor do I even know a lot about the testing process, I just finally got this working on my own project.

I see #74 is here, however it seems a little out of date. Figured I'd just make a mind-dump of what I've got.

@mikebronner
Copy link

mikebronner commented Aug 16, 2021

@xKairu Thank you for detailing the process of setting up tests and providing a sqlite driver! I wanted to ask you if the way you documented this is still working, as I am not able to get tests to run with 3rd-party packages declared in the config force-tenant-connection-of-models. It seems to want to run those models under the system connection no matter what.

Update: I was able to work through this with the help of the following: https://stackoverflow.com/questions/63206165/setting-up-testing-in-laravel-project-using-hyn-multi-tenant

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants