diff --git a/tests/Composer/Test/Repository/ComposerRepositoryTest.php b/tests/Composer/Test/Repository/ComposerRepositoryTest.php index 0806bb108..6eba1081d 100644 --- a/tests/Composer/Test/Repository/ComposerRepositoryTest.php +++ b/tests/Composer/Test/Repository/ComposerRepositoryTest.php @@ -161,7 +161,7 @@ class ComposerRepositoryTest extends TestCase ], ])); - $reflMethod = new \ReflectionMethod($repo, 'whatProvides'); + $reflMethod = new \ReflectionMethod(ComposerRepository::class, 'whatProvides'); $reflMethod->setAccessible(true); $packages = $reflMethod->invoke($repo, 'a');