diff --git a/tests/RequirementChecker/RequirementsDumperTest.php b/tests/RequirementChecker/RequirementsDumperTest.php index 8e38a0794..7698f87c9 100644 --- a/tests/RequirementChecker/RequirementsDumperTest.php +++ b/tests/RequirementChecker/RequirementsDumperTest.php @@ -134,6 +134,7 @@ public static function jsonAndLockContentsProvider(): iterable array ( 'type' => 'php', 'condition' => '^7.4', + 'source' => 'acme/foo', 'message' => 'The package "acme/foo" requires a version matching "^7.4".', 'helpMessage' => 'The package "acme/foo" requires a version matching "^7.4".', ), @@ -141,6 +142,7 @@ public static function jsonAndLockContentsProvider(): iterable array ( 'type' => 'extension', 'condition' => 'zlib', + 'source' => NULL, 'message' => 'The application requires the extension "zlib".', 'helpMessage' => 'The application requires the extension "zlib". You either need to enable it or request the application to be shipped with a polyfill for this extension.', ), @@ -148,6 +150,7 @@ public static function jsonAndLockContentsProvider(): iterable array ( 'type' => 'extension', 'condition' => 'json', + 'source' => 'acme/foo', 'message' => 'The package "acme/foo" requires the extension "json".', 'helpMessage' => 'The package "acme/foo" requires the extension "json". You either need to enable it or request the application to be shipped with a polyfill for this extension.', ),