File tree Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 5
5
build /
6
6
.phpunit
7
7
phpunit.xml
8
+
Original file line number Diff line number Diff line change 14
14
use Orbitale \Bundle \CmsBundle \Tests \Fixtures \TestBundle \Entity \Page ;
15
15
use Symfony \Bundle \FrameworkBundle \Test \WebTestCase ;
16
16
use Symfony \Component \Console \Output \BufferedOutput ;
17
- use Symfony \Component \Console \Output \ConsoleOutput ;
18
- use Symfony \Component \Console \Output \NullOutput ;
19
17
use Symfony \Component \Filesystem \Filesystem ;
20
18
use Symfony \Bundle \FrameworkBundle \Console \Application ;
21
19
use Symfony \Component \Console \Input \ArrayInput ;
22
20
23
21
class AbstractTestCase extends WebTestCase
24
22
{
25
23
public function setUp (): void
24
+ {
25
+ self ::installDatabase ();
26
+ }
27
+
28
+ public static function installDatabase (): void
26
29
{
27
30
static ::bootKernel ();
28
31
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ framework:
10
10
resource : " %kernel.project_dir%/App/config/routing.yaml"
11
11
utf8 : true
12
12
session :
13
+ handler_id : null
13
14
storage_factory_id : session.storage.factory.mock_file
14
15
15
16
twig :
Original file line number Diff line number Diff line change 34
34
fwrite (STDERR , $ e ->getMessage ());
35
35
}
36
36
}
37
- $ kernel ->shutdown ();
38
37
unset($ kernel );
39
38
})();
Original file line number Diff line number Diff line change 7
7
"license" : " MIT" ,
8
8
"require" : {
9
9
"php" : " >=7.3" ,
10
- "doctrine/annotations" : " ^1.8" ,
10
+ "doctrine/annotations" : " ^1.8|^2.0 " ,
11
11
"doctrine/doctrine-bundle" : " ^2.0" ,
12
12
"doctrine/orm" : " ^2.5.1" ,
13
13
"symfony/asset" : " ^5.3|^6.0|^7.0" ,
51
51
],
52
52
"extra" : {
53
53
"branch-alias" : {
54
- "dev-master" : " 4 .x-dev"
54
+ "dev-master" : " 5 .x-dev"
55
55
}
56
56
}
57
57
}
You can’t perform that action at this time.
0 commit comments