123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- declare(strict_types=1);
- namespace OCA\Settings\Tests;
- use OCA\Settings\SetupChecks\SupportedDatabase;
- use OCP\IL10N;
- use Test\TestCase;
- class SupportedDatabaseTest extends TestCase {
- public function testPass(): void {
- $l10n = $this->getMockBuilder(IL10N::class)->getMock();
- $check = new SupportedDatabase($l10n, \OC::$server->getDatabaseConnection());
- $this->assertTrue($check->run());
- }
- }
|