File tree Expand file tree Collapse file tree 5 files changed +10
-25
lines changed
Expand file tree Collapse file tree 5 files changed +10
-25
lines changed Original file line number Diff line number Diff line change 1111
1212declare (strict_types=1 );
1313
14+ namespace Qandidate \Bundle \ToggleBundle \Tests \Functional ;
15+
16+ use Qandidate \Bundle \ToggleBundle \QandidateToggleBundle ;
17+ use Symfony \Bundle \FrameworkBundle \FrameworkBundle ;
1418use Symfony \Component \Config \Loader \LoaderInterface ;
1519use Symfony \Component \HttpKernel \Kernel ;
1620
@@ -19,8 +23,8 @@ class AppKernel extends Kernel
1923 public function registerBundles ()
2024 {
2125 return [
22- new Symfony \ Bundle \ FrameworkBundle \ FrameworkBundle (),
23- new Qandidate \ Bundle \ ToggleBundle \ QandidateToggleBundle (),
26+ new FrameworkBundle (),
27+ new QandidateToggleBundle (),
2428 ];
2529 }
2630
Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ class WebTestCase extends BaseWebTestCase
1919{
2020 protected static function getKernelClass ()
2121 {
22- require __DIR__ .'/AppKernel.php ' ;
23-
24- return 'AppKernel ' ;
22+ return AppKernel::class;
2523 }
2624}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2828 "symfony/http-foundation" : " ^4.4.7||^5.0.7" ,
2929 "symfony/http-kernel" : " ^4.4.13||^5.1.5" ,
3030 "symfony/security-bundle" : " ^4.4||^5.0" ,
31- "doctrine/common" : " ^2.13||^3.0"
31+ "doctrine/common" :" ^2.13||^3.0" ,
32+ "doctrine/annotations" : " ^1.13"
3233 },
3334 "require-dev" : {
3435 "symfony/browser-kit" : " ^4.4||^5.0" ,
Original file line number Diff line number Diff line change 88 convertWarningsToExceptions =" true"
99 processIsolation =" false"
1010 stopOnFailure =" false"
11- bootstrap =" Tests/bootstrap .php"
11+ bootstrap =" vendor/autoload .php"
1212>
1313 <testsuites >
1414 <testsuite name =" Qandidate Feature Toggle Bundle Test Suite" >
You can’t perform that action at this time.
0 commit comments