Commit 09c307a 1 parent 995a612 commit 09c307a Copy full SHA for 09c307a
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ use Contributte\Tester\Toolkit;
6
6
use Contributte \Tester \Utils \ContainerBuilder ;
7
7
use Contributte \Tester \Utils \Neonkit ;
8
8
use Doctrine \DBAL \Connection ;
9
- use Doctrine \DBAL \Platforms \PostgreSQL100Platform ;
9
+ use Doctrine \DBAL \Platforms \MySQL80Platform ;
10
10
use Nette \DI \Compiler ;
11
11
use Nettrine \Cache \DI \CacheExtension ;
12
12
use Nettrine \DBAL \DI \DbalExtension ;
@@ -32,15 +32,15 @@ Toolkit::test(function (): void {
32
32
$ compiler ->addConfig (Neonkit::load (<<<'NEON'
33
33
nettrine.dbal:
34
34
connection:
35
- driver: pdo_pgsql
36
- serverVersion: 10.0
35
+ driver: pdo_mysql
36
+ serverVersion: '8.0.0'
37
37
NEON
38
38
));
39
39
})->build ();
40
40
41
41
/** @var Connection $connection */
42
42
$ connection = $ container ->getByType (Connection::class);
43
43
44
- Assert::type (PostgreSQL100Platform ::class, $ connection ->getDatabasePlatform ());
44
+ Assert::type (MySQL80Platform ::class, $ connection ->getDatabasePlatform ());
45
45
Assert::falsey ($ connection ->isConnected ());
46
46
});
You can’t perform that action at this time.
0 commit comments