File tree 2 files changed +4
-2
lines changed
Bridge/ProxyManager/Tests/LazyProxy
Bundle/WebProfilerBundle/Tests/DependencyInjection
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ public function testCreateProxyServiceWithRuntimeInstantiator()
33
33
$ builder ->register ('foo1 ' , 'ProxyManagerBridgeFooClass ' )->setFile (__DIR__ .'/Fixtures/includes/foo.php ' );
34
34
$ builder ->getDefinition ('foo1 ' )->setLazy (true );
35
35
36
+ $ builder ->compile ();
37
+
36
38
/* @var $foo1 \ProxyManager\Proxy\LazyLoadingInterface|\ProxyManager\Proxy\ValueHolderInterface */
37
39
$ foo1 = $ builder ->get ('foo1 ' );
38
40
Original file line number Diff line number Diff line change @@ -99,9 +99,9 @@ public function testToolbarConfig($enabled)
99
99
$ extension = new WebProfilerExtension ();
100
100
$ extension ->load (array (array ('toolbar ' => $ enabled )), $ this ->container );
101
101
102
- $ this ->assertSame ($ enabled , $ this ->container ->get ('web_profiler.debug_toolbar ' )->isEnabled ());
103
-
104
102
$ this ->assertSaneContainer ($ this ->getDumpedContainer ());
103
+
104
+ $ this ->assertSame ($ enabled , $ this ->container ->get ('web_profiler.debug_toolbar ' )->isEnabled ());
105
105
}
106
106
107
107
public function getDebugModes ()
You can’t perform that action at this time.
0 commit comments