File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public function testExpressionLanguageProviderForwarding()
61
61
62
62
public function testExtensionLoadGetAMergeExtensionConfigurationContainerBuilderInstance ()
63
63
{
64
- $ extension = $ this ->getMockBuilder (FooExtension::class)->setMethods (['load ' ])->getMock ();
64
+ $ extension = $ this ->getMockBuilder (FooExtension::class)->onlyMethods (['load ' ])->getMock ();
65
65
$ extension ->expects ($ this ->once ())
66
66
->method ('load ' )
67
67
->with ($ this ->isType ('array ' ), $ this ->isInstanceOf (MergeExtensionConfigurationContainerBuilder::class))
@@ -77,7 +77,7 @@ public function testExtensionLoadGetAMergeExtensionConfigurationContainerBuilder
77
77
78
78
public function testExtensionConfigurationIsTrackedByDefault ()
79
79
{
80
- $ extension = $ this ->getMockBuilder (FooExtension::class)->setMethods (['getConfiguration ' ])->getMock ();
80
+ $ extension = $ this ->getMockBuilder (FooExtension::class)->onlyMethods (['getConfiguration ' ])->getMock ();
81
81
$ extension ->expects ($ this ->exactly (2 ))
82
82
->method ('getConfiguration ' )
83
83
->willReturn (new FooConfiguration ());
You can’t perform that action at this time.
0 commit comments