File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed
Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -12,5 +12,4 @@ if [[ ${COMMAND} =~ phpunit ]];then
1212 cp config/autoload/mail.local.php.dist config/autoload/mail.local.php
1313 cp config/autoload/local.test.php.dist config/autoload/local.test.php
1414
15- php bin/doctrine orm:validate-schema --skip-sync
1615fi
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ /**
4+ * Local test configuration.
5+ *
6+ * Overwrites the database connection to use an in memory database
7+ */
8+
9+ declare (strict_types=1 );
10+
11+ use ApiTest \Functional \AbstractFunctionalTest ;
12+
13+ if (! AbstractFunctionalTest::isTestMode ()) {
14+ return [];
15+ }
16+
17+ return [
18+ 'doctrine ' => [
19+ 'connection ' => [
20+ 'orm_default ' => [
21+ 'params ' => [
22+ 'url ' => 'pdo_sqlite:///:memory: ' ,
23+ ],
24+ ],
25+ ],
26+ ],
27+ ];
You can’t perform that action at this time.
0 commit comments