1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 16:54:05 +00:00

minor changes

This commit is contained in:
Samuel Štancl 2023-02-16 14:30:43 +01:00
parent 7fd065f17b
commit 3b5e1fb494
2 changed files with 1 additions and 5 deletions

View file

@ -197,10 +197,6 @@ class QueueTest extends TestCase
*/ */
public function tenancy_is_initialized_when_retrying_jobs(bool $shouldEndTenancy) public function tenancy_is_initialized_when_retrying_jobs(bool $shouldEndTenancy)
{ {
if (! Str::startsWith(app()->version(), '8')) {
$this->markTestSkipped('queue:retry tenancy is only supported in Laravel 8');
}
$this->withFailedJobs(); $this->withFailedJobs();
$this->withTenantDatabases(); $this->withTenantDatabases();

View file

@ -95,7 +95,7 @@ class TenantDatabaseManagerTest extends TestCase
$this->assertTrue($postgresManager->databaseExists($database)); $this->assertTrue($postgresManager->databaseExists($database));
} }
public function database_manager_provider() public static function database_manager_provider()
{ {
return [ return [
['mysql', MySQLDatabaseManager::class], ['mysql', MySQLDatabaseManager::class],