Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-10-04 16:59:14 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-10-04 17:28:33 +0300
commit0cc83974aa93479a3f4f496b4dcd4e57825c85b0 (patch)
treea589f24956a26c36e8de87211b7cdb9e09176026 /tests/Integration
parent676175bf9fb458bdc5f434451403f6bbd1c0747a (diff)
Migrate \OCA\Mail\Integration\* to the PSR logger
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/Integration')
-rw-r--r--tests/Integration/KItinerary/ItineraryExtractorTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Integration/KItinerary/ItineraryExtractorTest.php b/tests/Integration/KItinerary/ItineraryExtractorTest.php
index 6a57959f1..9f408fdf4 100644
--- a/tests/Integration/KItinerary/ItineraryExtractorTest.php
+++ b/tests/Integration/KItinerary/ItineraryExtractorTest.php
@@ -30,8 +30,8 @@ use ChristophWurst\KItinerary\Flatpak\FlatpakAdapter;
use ChristophWurst\KItinerary\Sys\SysAdapter;
use ChristophWurst\Nextcloud\Testing\TestCase;
use OCA\Mail\Integration\KItinerary\ItineraryExtractor;
-use OCP\ILogger;
use PHPUnit\Framework\MockObject\MockObject;
+use Psr\Log\LoggerInterface;
class ItineraryExtractorTest extends TestCase {
@@ -44,7 +44,7 @@ class ItineraryExtractorTest extends TestCase {
/** @var SysAdapter|MockObject */
private $sysAdapter;
- /** @var ILogger|MockObject */
+ /** @var LoggerInterface|MockObject */
private $logger;
/** @var ItineraryExtractor */
@@ -56,7 +56,7 @@ class ItineraryExtractorTest extends TestCase {
$this->binaryAdapter = $this->createMock(BinaryAdapter::class);
$this->flatpakAdapter = $this->createMock(FlatpakAdapter::class);
$this->sysAdapter = $this->createMock(SysAdapter::class);
- $this->logger = $this->createMock(ILogger::class);
+ $this->logger = $this->createMock(LoggerInterface::class);
$this->extractor = new ItineraryExtractor(
$this->binaryAdapter,