1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 12:54:05 +00:00
tenancy/tests
Dylan Harbour e0af2e9945
Fix issue 521: Array input for --tenants (#522)
* Fix issue 521: Array input for `--tenants`

Tenancy for Laravel docs refer to using multiple `--tenants=<...> ` options when running a command for multiple tenants explicitly: https://tenancyforlaravel.com/docs/v3/console-commands

However, the command input is not defined correctly to receive arrays.
https://laravel.com/docs/7.x/artisan#input-arrays

This PR adds a failing test, fixes the issue and corrects a typo in the contributing readme.

* Styleci

Co-authored-by: Dylan Harbour <dylanh@ringier.co.za>
2020-11-12 14:08:37 +01:00
..
Etc Clenup for resource syncing 2020-06-01 09:51:22 +02:00
Features Allow array values for Tenant Config 2020-05-30 17:14:56 +02:00
AutomaticModeTest.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
BootstrapperTest.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
CachedTenantResolverTest.php Better solution for tenant DB exception 2020-06-29 12:18:03 +02:00
CacheManagerTest.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
CombinedDomainAndSubdomainIdentificationTest.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
CommandsTest.php Fix issue 521: Array input for --tenants (#522) 2020-11-12 14:08:37 +01:00
DatabasePreparationTest.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
DatabaseUsersTest.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
DomainTest.php Convert domains to lowercase, persist current domain model on resolver 2020-06-28 11:45:08 +02:00
EventListenerTest.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
GlobalCacheTest.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
MaintenanceModeTest.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
PathIdentificationTest.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
QueueTest.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
RequestDataIdentificationTest.php Clean up global state in tests 2020-05-22 20:08:50 +02:00
ResourceSyncingTest.php Remove unnecessary typehints 2020-06-08 21:35:41 +02:00
ScopeSessionsTest.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
SingleDatabaseTenancyTest.php Switch to using MySQL for tests, resolve FK constraint issues 2020-06-07 10:28:55 +02:00
SubdomainTest.php Fix subdomain middleware 2020-08-01 15:07:10 +02:00
TenantAssetTest.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
TenantAwareCommandTest.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
TenantDatabaseManagerTest.php Apply fixes from StyleCI 2020-06-28 16:25:43 +00:00
TenantModelTest.php Apply fixes from StyleCI 2020-07-06 12:45:10 +00:00
TenantUserImpersonationTest.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
TestCase.php Switch to using MySQL for tests, resolve FK constraint issues 2020-06-07 10:28:55 +02:00
UniversalRouteTest.php Apply fixes from StyleCI 2020-05-26 11:25:35 +00:00