diff --git a/test/JikanTest/Parser/Club/ClubParserTest.php b/test/JikanTest/Parser/Club/ClubParserTest.php index 8fc148ed..08cac357 100644 --- a/test/JikanTest/Parser/Club/ClubParserTest.php +++ b/test/JikanTest/Parser/Club/ClubParserTest.php @@ -78,7 +78,7 @@ public function it_gets_title(): void public function it_gets_members_count(): void { self::assertEquals( - 1381, + 1398, $this->parser->getMembersCount() ); } diff --git a/test/JikanTest/Parser/Producer/ProducerParserTest.php b/test/JikanTest/Parser/Producer/ProducerParserTest.php index e2daa62e..6d4a23e7 100644 --- a/test/JikanTest/Parser/Producer/ProducerParserTest.php +++ b/test/JikanTest/Parser/Producer/ProducerParserTest.php @@ -41,7 +41,7 @@ public function it_gets_url() public function it_gets_anime() { $anime = $this->parser->getResults(); - self::assertCount(287, $anime); + self::assertCount(306, $anime); self::assertContainsOnlyInstancesOf(\Jikan\Model\Common\AnimeCard::class, $anime); } @@ -51,7 +51,7 @@ public function it_gets_anime() public function it_gets_image() { self::assertEquals( - 'https://cdn.myanimelist.net/images/company/1.png', + 'https://cdn.myanimelist.net/s/common/company_logos/b03509d0-0a9f-4f7e-a75f-6ad2649f4cdc_600x600_i?s=668dd24cfe04283101aba66102a2c2c5', $this->parser->getImages()->getJpg()->getImageUrl() ); } @@ -73,7 +73,7 @@ public function it_gets_established() public function it_gets_favorites() { self::assertEquals( - 2251, + 4476, $this->parser->getFavorites() ); } @@ -83,8 +83,8 @@ public function it_gets_favorites() */ public function it_gets_about() { - self::assertEquals( - null, + self::assertStringContainsString( + "Pierrot ใดใˆใ‚ (Pierrot Co., Ltd.) is a Japanese animation studio established in May 1979 by former employees of both Tatsunoko Production and Mushi Production.", $this->parser->getAbout() ); } @@ -95,7 +95,7 @@ public function it_gets_about() public function it_gets_count() { self::assertEquals( - 287, + 306, $this->parser->getAnimeCount() ); } @@ -108,7 +108,7 @@ public function it_gets_external_links() $externalLinks = $this->parser->getExternalLinks(); self::assertCount( - 4, + 11, $externalLinks );