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

40 commits

Author SHA1 Message Date
Samuel Štancl
0fe2d2de87 Fix 'no such table' 2019-09-20 17:06:55 +02:00
Samuel Štancl
c9903cd43c Clean up 2019-09-19 20:32:09 +02:00
Samuel Štancl
8565cc7acc Get multiple envs (redis/db) to run correctly 2019-09-17 19:39:57 +02:00
Samuel Štancl
50a77ee826 Fix some tests 2019-09-16 17:36:32 +02:00
Samuel Štancl
1532ccf019 Fix some tests 2019-09-16 16:57:55 +02:00
stancl
359766ccfa Apply fixes from StyleCI 2019-09-15 15:44:41 +00:00
Samuel Štancl
c65b6839ff Tenant-specific connections, some work to get tests running 2019-09-15 17:44:26 +02:00
Samuel Štancl
1bfe4a7ea5
Apply fixes from StyleCI (#126) 2019-09-11 17:37:02 +02:00
Samuel Štancl
dabaff1338 Remove Tenant facade, move facades to Facades 2019-09-08 17:24:03 +02:00
Samuel Štancl
74da4ddfde DB manager create & delete database functions 2019-09-08 15:47:58 +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
84890cdd1e Apply fixes from StyleCI 2019-08-16 16:21:59 +00:00
Samuel Štancl
9df78eb9c2
[1.7.0] Add DB storage driver (#82) 2019-08-16 14:36:49 +02:00
Samuel Štancl
4aa35322da Add event prevents, Tenant facade 2019-08-14 22:16:51 +02:00
Samuel Štancl
d77d05e620 Use env vars instead of a python script for ./test 2019-08-10 10:59:23 +02:00
Samuel Štancl
15f09e59df
[1.7.0] Add tenants:run (#81)
* wip

* Apply fixes from StyleCI

* first implementation

* Apply fixes from StyleCI

* Add support for arguments and options

* Apply fixes from StyleCI

* Write docs, add support for = in arg/opt value

* Apply fixes from StyleCI

* add $ [ci skip]
2019-08-09 19:06:00 +02:00
Samuel Štancl
13048002ef remove loadDotEnv() 2019-08-04 20:42:50 +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
0ff607d1d8 styleci 2019-08-04 17:43:25 +02:00
Samuel Štancl
60bfbce97b Merge branch '1.x' of github.com:stancl/tenancy into 1.x 2019-08-04 17:42:08 +02:00
Samuel Štancl
89990799f2 add phpunit.xml variations 2019-08-04 17:40:44 +02:00
Samuel Štancl
7c598ae2fe wip 2019-08-03 21:25:00 +02:00
Samuel Štancl
eceacd9422
Apply fixes from StyleCI (#80) 2019-08-02 20:01:10 +02:00
Samuel Štancl
2757e8f76c Fix tests 2019-07-30 22:04:10 +02:00
Samuel Štancl
92ebc1f01b
Add support for global cache (#78) 2019-07-30 21:05:30 +02:00
Samuel Štancl
dc30354699
Dockerize phpunit (#66) 2019-07-12 21:44:26 +02:00
Samuel Štancl
1b6759084f
Add Predis support (#59)
* wip

* Add Predis support

* Enable phpredis extension only for some builds

* Add note about phpredis

* Fix if command

* Revert travis changes & add a version check to predis tests
2019-07-03 14:48:55 +02:00
Samuel Štancl
e7b5a77a6b
Data separation tests (#58)
* Add purge()

* Add DataSeparationTest
2019-07-01 12:28:22 +02:00
Samuel Štancl
e1c4dc8934 Register the facade in TestCase 2019-02-27 22:22:09 +01:00
Samuel Štancl
78fd7d43f6
Add 5.8 support (#33) 2019-02-27 18:22:34 +01:00
Samuel Štancl
e1def355f9 Add command tests 2019-02-09 11:53:48 +01:00
Samuel Štancl
2c69c37032 Write more tests, fix filesystem support for s3 2019-02-08 23:59:27 +01:00
Samuel Štancl
22fc843ce3 Fix a lot of bugs, fix #23 2019-02-08 22:44:46 +01:00
Samuel Štancl
f05a4bca41 Add tests, fix bugs 2019-02-08 15:28:32 +01:00
Samuel Štancl
3857c4a27d Add TestCase@initTenancy 2019-02-07 22:28:41 +01:00
Samuel Štancl
fceddb8c4d Add more tests 2019-02-07 21:44:47 +01:00
Samuel Štancl
c53a05cff4
Make database creation queueable (#17)
* SOLIDify database creation

* Return the result of fclose in SQLiteDBCreator

* Make database creation queueable

* Add DatabaseCreationTest

* Make comment more descriptive [ci skip]

* Add composer script to copy .env.example to .env

* Minor tweaks

* Fix env section

* Fix DB_PASSWORD for Travis
2019-02-07 18:12:24 +01:00
Samuel Štancl
136862369d Move HttpKernel to /tests/ 2019-02-07 15:39:39 +01:00
Samuel Štancl
6bb18a2b95
Fix Travis, add docs for generating HTTPS certificates (#19) 2019-02-07 15:26:42 +01:00
Samuel Štancl
999507fe42 Begin work on tests 2019-02-01 22:47:10 +01:00