Skip to content

Commit 3fb765d

Browse files
committed
Revert "fix codemismatch"
This reverts commit 6d04be9.
1 parent 4d60c01 commit 3fb765d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/Acceptance/AbstractAcceptanceTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace League\Bundle\OAuth2ServerBundle\Tests\Acceptance;
66

7-
use Doctrine\DBAL\Platforms\SQLitePlatform;
7+
use Doctrine\DBAL\Platforms\SqlitePlatform;
88
use League\Bundle\OAuth2ServerBundle\Tests\TestHelper;
99
use Symfony\Bundle\FrameworkBundle\Console\Application;
1010
use Symfony\Bundle\FrameworkBundle\KernelBrowser;
@@ -31,7 +31,7 @@ protected function setUp(): void
3131
TestHelper::initializeDoctrineSchema($this->application);
3232

3333
$connection = $this->client->getContainer()->get('database_connection');
34-
if ($connection->getDatabasePlatform() instanceof SQLitePlatform) {
34+
if ($connection->getDatabasePlatform() instanceof SqlitePlatform) {
3535
// https://www.sqlite.org/foreignkeys.html
3636
$connection->executeQuery('PRAGMA foreign_keys = ON');
3737
}

tests/TestKernel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace League\Bundle\OAuth2ServerBundle\Tests;
66

7-
use Doctrine\DBAL\Platforms\SQLitePlatform;
7+
use Doctrine\DBAL\Platforms\SqlitePlatform;
88
use Doctrine\ORM\Mapping\Annotation;
99
use League\Bundle\OAuth2ServerBundle\Manager\AccessTokenManagerInterface;
1010
use League\Bundle\OAuth2ServerBundle\Manager\AuthorizationCodeManagerInterface;
@@ -229,7 +229,7 @@ private function configureControllers(ContainerBuilder $container): void
229229
private function configureDatabaseServices(ContainerBuilder $container): void
230230
{
231231
$container
232-
->register(SQLitePlatform::class)
232+
->register(SqlitePlatform::class)
233233
->setAutoconfigured(true)
234234
->setAutowired(true)
235235
;

0 commit comments

Comments
 (0)