From b29a3dafc022c8aebd1bc9ec4b4be8b2f314ffb8 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Thu, 14 Oct 2021 09:30:27 +0200 Subject: [PATCH] Migrate to the non-deprecated Prophecy method --- tests/Translator/Extractor/SymfonyExtractorTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Translator/Extractor/SymfonyExtractorTest.php b/tests/Translator/Extractor/SymfonyExtractorTest.php index 0471361..7253169 100644 --- a/tests/Translator/Extractor/SymfonyExtractorTest.php +++ b/tests/Translator/Extractor/SymfonyExtractorTest.php @@ -45,7 +45,7 @@ public function testExtract() $symfonyExtractor->extract(Argument::exact($dir), Argument::exact($catalogue))->shouldHaveBeenCalled(); } foreach ($nonDirPaths as $path) { - $symfonyExtractor->extract(Argument::exact($path), Argument::exact($catalogue))->shouldNotBeenCalled(); + $symfonyExtractor->extract(Argument::exact($path), Argument::exact($catalogue))->shouldNotHaveBeenCalled(); } }