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 @@ -60,7 +60,7 @@ public function testExpressionLanguageProviderForwarding()
60
60
61
61
public function testExtensionLoadGetAMergeExtensionConfigurationContainerBuilderInstance ()
62
62
{
63
- $ extension = $ this ->getMockBuilder (FooExtension::class)->setMethods (['load ' ])->getMock ();
63
+ $ extension = $ this ->getMockBuilder (FooExtension::class)->onlyMethods (['load ' ])->getMock ();
64
64
$ extension ->expects ($ this ->once ())
65
65
->method ('load ' )
66
66
->with ($ this ->isType ('array ' ), $ this ->isInstanceOf (MergeExtensionConfigurationContainerBuilder::class))
@@ -76,7 +76,7 @@ public function testExtensionLoadGetAMergeExtensionConfigurationContainerBuilder
76
76
77
77
public function testExtensionConfigurationIsTrackedByDefault ()
78
78
{
79
- $ extension = $ this ->getMockBuilder (FooExtension::class)->setMethods (['getConfiguration ' ])->getMock ();
79
+ $ extension = $ this ->getMockBuilder (FooExtension::class)->onlyMethods (['getConfiguration ' ])->getMock ();
80
80
$ extension ->expects ($ this ->exactly (2 ))
81
81
->method ('getConfiguration ' )
82
82
->willReturn (new FooConfiguration ());
You can’t perform that action at this time.
0 commit comments