diff --git a/tests/src/Unit/DataParserPluginBaseTest.php b/tests/src/Unit/DataParserPluginBaseTest.php index f9a2d6e2dd13e6d52a04de5ddf30765815b4388b..c2366293e716763c8383722fe8d506ae6274c9b3 100644 --- a/tests/src/Unit/DataParserPluginBaseTest.php +++ b/tests/src/Unit/DataParserPluginBaseTest.php @@ -76,7 +76,7 @@ final class DataParserPluginBaseTest extends MigrateTestCase { return $this->getMockBuilder(DataParserPluginBaseMock::class) ->setConstructorArgs([$configuration, $plugin_id, $plugin_definition]) - ->setMethods(['openSourceUrl']) + ->onlyMethods(['openSourceUrl']) ->getMockForAbstractClass(); }