file_get_contentsを直接使うのをやめよう運動
This commit is contained in:
1 parent
f8952474b5
commit
552ff421dd
17 files changed
+60
-60
No files matched your search
@@ -21,7 +21,7 @@ class NicoSeigaResolverTest extends TestCase
|
||||
|
||||
public function testSeiga()
|
||||
{
|
||||
$responseText = file_get_contents(__DIR__ . '/../../fixture/NicoSeiga/seiga.html');
|
||||
$responseText = $this->fetchSnapshot(__DIR__ . '/../../fixture/NicoSeiga/seiga.html');
|
||||
|
||||
$this->createResolver(NicoSeigaResolver::class, $responseText);
|
||||
|
||||
@@ -37,7 +37,7 @@ class NicoSeigaResolverTest extends TestCase
|
||||
|
||||
public function testShunga()
|
||||
{
|
||||
$responseText = file_get_contents(__DIR__ . '/../../fixture/NicoSeiga/shunga.html');
|
||||
$responseText = $this->fetchSnapshot(__DIR__ . '/../../fixture/NicoSeiga/shunga.html');
|
||||
|
||||
$this->createResolver(NicoSeigaResolver::class, $responseText);
|
||||
|
||||
|
||||
Reference in new issue
Block a user