diff --git a/tests/Integration/ApiDataFetcherTest.php b/tests/Integration/ApiDataFetcherTest.php index 9c0b9f5..d2b0881 100644 --- a/tests/Integration/ApiDataFetcherTest.php +++ b/tests/Integration/ApiDataFetcherTest.php @@ -111,7 +111,7 @@ public function it_can_extract_pubmed_ids_from_id_converter() $merged = ApiDataMerger::handle($extracted); $identifiers = array_merge(...$merged['identifiers']); - $this->assertTrue(count(array_filter($identifiers, function($identifier) { + $this->assertTrue(count(array_filter($identifiers, function ($identifier) { return $identifier['type'] === 'pubmed'; })) > 0); } diff --git a/tests/Integration/ArxivDataExtractorTest.php b/tests/Integration/ArxivDataExtractorTest.php index 378d22f..f6037c1 100644 --- a/tests/Integration/ArxivDataExtractorTest.php +++ b/tests/Integration/ArxivDataExtractorTest.php @@ -2,7 +2,6 @@ namespace PubPeerFoundation\PublicationDataExtractor\Test\Integration; -use PubPeerFoundation\PublicationDataExtractor\ApiDataMerger; use PubPeerFoundation\PublicationDataExtractor\Test\TestCase; use PubPeerFoundation\PublicationDataExtractor\Test\TestHelpers; use PubPeerFoundation\PublicationDataExtractor\Resources\Extractors\Arxiv;