File tree 1 file changed +6
-3
lines changed
src/Puphpet/MainBundle/Tests/Unit
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace Puphpet \Tests \Unit ;
4
4
5
+ use AppKernel ;
5
6
use Symfony \Component \DependencyInjection \ContainerInterface ;
6
7
7
8
require_once __DIR__ . '/../../../../../app/AppKernel.php ' ;
8
9
9
- abstract class TestExtensions extends \PHPUnit_Framework_TestCase
10
+ abstract class BaseTest extends \PHPUnit_Framework_TestCase
10
11
{
11
- /** @var \AppKernel */
12
+ const BASE_TEST_DIR = __DIR__ ;
13
+
14
+ /** @var AppKernel */
12
15
protected $ kernel ;
13
16
14
17
/** @var ContainerInterface */
@@ -20,7 +23,7 @@ public function setUp()
20
23
$ this ->kernel ->shutdown ();
21
24
}
22
25
23
- $ this ->kernel = new \ AppKernel ('test ' , true );
26
+ $ this ->kernel = new AppKernel ('test ' , true );
24
27
$ this ->kernel ->boot ();
25
28
26
29
$ this ->container = $ this ->kernel ->getContainer ();
You can’t perform that action at this time.
0 commit comments