Lint tests
This commit is contained in:
@@ -20,7 +20,7 @@ class KomifloResolverTest extends TestCase
|
||||
|
||||
public function testComic()
|
||||
{
|
||||
$responseText = file_get_contents(__DIR__.'/../../fixture/Komiflo/comic.json');
|
||||
$responseText = file_get_contents(__DIR__ . '/../../fixture/Komiflo/comic.json');
|
||||
|
||||
$this->createResolver(KomifloResolver::class, $responseText);
|
||||
|
||||
@@ -28,7 +28,7 @@ class KomifloResolverTest extends TestCase
|
||||
$this->assertEquals('魔法少女とえっち物語', $metadata->title);
|
||||
$this->assertEquals('薙派 - メガストアα 19.07', $metadata->description);
|
||||
$this->assertEquals('https://t.komiflo.com/564_mobile_large_3x/contents/23a4cd530060b8607aa434f4b299b249e71a4d5c.jpg', $metadata->image);
|
||||
$this->assertEquals(['薙派','お姉さん','ショタ','ファンタジー','巨乳','野外・露出','羞恥'], $metadata->tags);
|
||||
$this->assertEquals(['薙派', 'お姉さん', 'ショタ', 'ファンタジー', '巨乳', '野外・露出', '羞恥'], $metadata->tags);
|
||||
if ($this->shouldUseMock()) {
|
||||
$this->assertSame('https://api.komiflo.com/content/id/5490', (string) $this->handler->getLastRequest()->getUri());
|
||||
}
|
||||
@@ -36,7 +36,7 @@ class KomifloResolverTest extends TestCase
|
||||
|
||||
public function testComicWithNoParents()
|
||||
{
|
||||
$responseText = file_get_contents(__DIR__.'/../../fixture/Komiflo/comicWithNoParents.json');
|
||||
$responseText = file_get_contents(__DIR__ . '/../../fixture/Komiflo/comicWithNoParents.json');
|
||||
|
||||
$this->createResolver(KomifloResolver::class, $responseText);
|
||||
|
||||
@@ -44,7 +44,7 @@ class KomifloResolverTest extends TestCase
|
||||
$this->assertEquals('生まれなおしプログラム', $metadata->title);
|
||||
$this->assertEquals('EROKI - ?', $metadata->description);
|
||||
$this->assertEquals('https://t.komiflo.com/564_mobile_large_3x/contents/71cfb83640aead3cdd35e4329c4e2f427606a11d.jpg', $metadata->image);
|
||||
$this->assertEquals(['EROKI','お姉さん','しつけ','オリジナル','ショートカット','逆転','巨乳'], $metadata->tags);
|
||||
$this->assertEquals(['EROKI', 'お姉さん', 'しつけ', 'オリジナル', 'ショートカット', '逆転', '巨乳'], $metadata->tags);
|
||||
if ($this->shouldUseMock()) {
|
||||
$this->assertSame('https://api.komiflo.com/content/id/3414', (string) $this->handler->getLastRequest()->getUri());
|
||||
}
|
||||
|
Reference in New Issue
Block a user