1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 17:24:03 +00:00
tenancy/tests
Abrar Ahmad 409190fae1
[4.x] Improve tenants:run command to execute Input\Output commands (#923)
* run command useable for questions asking commands

* move console classes to Console directory

* fix styling

* Update src/Commands/Run.php

Co-authored-by: Samuel Štancl <samuel@archte.ch>

* remove tenant migration line

* assert command executed in tenant context

* improve test

* cleanup code

* Update CommandsTest.php

* remove irrelevant assertions

Co-authored-by: Samuel Štancl <samuel@archte.ch>
2022-09-02 18:46:13 +02:00
..
Etc [4.x] Improve tenants:run command to execute Input\Output commands (#923) 2022-09-02 18:46:13 +02:00
Features Pull 3.x changes into master (#922) 2022-08-22 17:59:43 +02:00
AutomaticModeTest.php Refactor tests to use pest() helper 2022-07-23 01:16:50 +02:00
BootstrapperTest.php added $this->mockConsoleOutput (#907) 2022-07-27 01:35:55 +02:00
CachedTenantResolverTest.php Refactor tests to use pest() helper 2022-07-23 01:16:50 +02:00
CacheManagerTest.php Refactor tests to use pest() helper 2022-07-23 01:16:50 +02:00
CombinedDomainAndSubdomainIdentificationTest.php Refactor tests to use pest() helper 2022-07-23 01:16:50 +02:00
CommandsTest.php [4.x] Improve tenants:run command to execute Input\Output commands (#923) 2022-09-02 18:46:13 +02:00
DatabasePreparationTest.php general refactor, move more classes under Database namespace 2022-08-27 03:17:16 +02:00
DatabaseUsersTest.php general refactor, move more classes under Database namespace 2022-08-27 03:17:16 +02:00
DebuggableTest.php wip Debuggable trait 2022-07-28 15:14:29 +02:00
DeleteDomainsJobTest.php [4.x] Migrate tests to Pest (#884) 2022-07-22 19:26:59 +02:00
DomainTest.php feat(UniversalRoutes): Stop overwriting the (maybe) customized onFail… (#679) 2022-07-25 18:37:52 +02:00
EventListenerTest.php get phpstan errors down from 252 to 189 2022-08-30 05:44:23 +02:00
GlobalCacheTest.php [4.x] Migrate tests to Pest (#884) 2022-07-22 19:26:59 +02:00
MaintenanceModeTest.php Refactor tests to use pest() helper 2022-07-23 01:16:50 +02:00
PathIdentificationTest.php Refactor tests to use pest() helper 2022-07-23 01:16:50 +02:00
Pest.php Refactor tests to use pest() helper 2022-07-23 01:16:50 +02:00
QueueTest.php added $this->mockConsoleOutput (#907) 2022-07-27 01:35:55 +02:00
RequestDataIdentificationTest.php [4.x] Migrate tests to Pest (#884) 2022-07-22 19:26:59 +02:00
ResourceSyncingTest.php get phpstan errors down from 252 to 189 2022-08-30 05:44:23 +02:00
ScopeSessionsTest.php Refactor tests to use pest() helper 2022-07-23 01:16:50 +02:00
SingleDatabaseTenancyTest.php Refactor tests to use pest() helper 2022-07-23 01:16:50 +02:00
SubdomainTest.php Refactor tests to use pest() helper 2022-07-23 01:16:50 +02:00
TenantAssetTest.php Pull 3.x changes into master (#922) 2022-08-22 17:59:43 +02:00
TenantAwareCommandTest.php Refactor tests to use pest() helper 2022-07-23 01:16:50 +02:00
TenantDatabaseManagerTest.php general refactor, move more classes under Database namespace 2022-08-27 03:17:16 +02:00
TenantModelTest.php misc improvements - stronger types, exception refactor 2022-08-26 21:35:17 +02:00
TenantUserImpersonationTest.php [4.x] Make impersonation tokens require stateful guards (#935) 2022-09-02 17:46:27 +02:00
TestCase.php [4.x] Improve tenants:run command to execute Input\Output commands (#923) 2022-09-02 18:46:13 +02:00
UniversalRouteTest.php Refactor tests to use pest() helper 2022-07-23 01:16:50 +02:00