1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 23:34:03 +00:00
Commit graph

33 commits

Author SHA1 Message Date
Samuel Štancl
abd0b8f04e
[2.x] Queued post-creation automigration (#154)
* Queued post-creation automigration

* Add shouldQueueMigration()

* Automigration test, config key, QueueTenancyBootstrapper support for QueueFake

* Apply fixes from StyleCI

* Fix if statement
2019-10-04 21:34:17 +02:00
Samuel Štancl
8beaaaeda7 ensureTenantCanBeCreated test 2019-09-20 17:05:19 +02:00
Samuel Štancl
d1be6c8e66 Add tests 2019-09-20 16:26:36 +02:00
Samuel Štancl
25927c36bd Test cleanup 2019-09-19 22:04:52 +02:00
stancl
27a93028b2 Apply fixes from StyleCI 2019-09-19 16:39:08 +00:00
Samuel Štancl
fb58f21f1c Get Redis tests to pass 2019-09-19 18:38:40 +02:00
Samuel Štancl
6b0ec1b554 Passing tests with DB storage driver 2019-09-18 20:08:30 +02:00
Samuel Štancl
12c05c0af6 Fix some tests 2019-09-18 19:48:15 +02:00
stancl
dd1b31e1df Apply fixes from StyleCI 2019-09-18 16:02:28 +00:00
Samuel Štancl
9bb56c1b30 Fix feature bootstrapping 2019-09-18 18:02:14 +02:00
Samuel Štancl
8565cc7acc Get multiple envs (redis/db) to run correctly 2019-09-17 19:39:57 +02:00
Samuel Štancl
524530c8d5 TenantDatabaseManagerTest fully passes now 2019-09-17 18:57:19 +02:00
Samuel Štancl
5e9b421aa6 Fix Tenant DB manager tests 2019-09-17 17:59:40 +02:00
Samuel Štancl
a9c37d1535 wip 2019-09-16 18:09:09 +02:00
Samuel Štancl
1532ccf019 Fix some tests 2019-09-16 16:57:55 +02:00
Samuel Štancl
79f912384b uuid -> id (references in code) 2019-09-15 22:52:31 +02:00
Samuel Štancl
a7bb709bd4 Fix first test 2019-09-15 21:53:03 +02:00
Samuel Štancl
2fd3662eb7
[1.8.0] Use strict types (#115)
* Use strict types

* Apply fixes from StyleCI

* Fix str_repeat

* Fix false json decode
2019-08-23 18:18:26 +02:00
stancl
6028e70b98 Apply fixes from StyleCI 2019-08-16 16:54:34 +00:00
Samuel Štancl
6095696355 Fix invoke test 2019-08-16 18:54:25 +02:00
Samuel Štancl
4aa35322da Add event prevents, Tenant facade 2019-08-14 22:16:51 +02:00
Samuel Štancl
c1df467601
[1.7.0] Add Events system (#93)
* Add TenantManagerEvents

* Apply fixes from StyleCI

* Fix typos, add tests

* end() events
2019-08-14 17:15:47 +02:00
Samuel Štancl
d7358c588c
[1.7.0] Add the option to set values & db name during tenant creation (#86)
* Add the option to set values & db name during tenant creation

* Apply fixes from StyleCI

* Add tests

* Apply fixes from StyleCI

* Rewrite conditional for clarity
2019-08-13 19:16:00 +02:00
Samuel Štancl
0dc8c80a02 Fix Redis scan for predis, make phpunit use multiple configs (e.g. different Redis drivers) 2019-08-04 20:04:25 +02:00
Samuel Štancl
eceacd9422
Apply fixes from StyleCI (#80) 2019-08-02 20:01:10 +02:00
Samuel Štancl
a3f37b7f77 Fix #71 2019-07-25 23:26:36 +02:00
Samuel Štancl
66a4fe9630 Fix #73
The domain was wrapped in "".
2019-07-25 11:19:52 +02:00
Samuel Štancl
353f7afb82
Add tenancy()->end() (#68) 2019-07-13 11:38:07 +02:00
Samuel Štancl
13bc3da9da rename test [ci skip] 2019-02-13 16:26:45 +01:00
Samuel Štancl
d2ec7f171d Fix #25 better error handling 2019-02-13 16:26:00 +01:00
Samuel Štancl
1ec7807fbf Add more tests 2019-02-10 21:38:30 +01:00
Samuel Štancl
8d382024a3 Add more TenantManager tests 2019-02-09 00:17:51 +01:00
Samuel Štancl
f05a4bca41 Add tests, fix bugs 2019-02-08 15:28:32 +01:00