file_get_contentsを直接使うのをやめよう運動
This commit is contained in:
1 parent
f8952474b5
commit
552ff421dd
17 files changed
+60
-60
No files matched your search
@@ -20,7 +20,7 @@ class FC2ContentsResolverTest extends TestCase
|
||||
|
||||
public function testAdult()
|
||||
{
|
||||
$responseText = file_get_contents(__DIR__ . '/../../fixture/FC2Contents/adult.html');
|
||||
$responseText = $this->fetchSnapshot(__DIR__ . '/../../fixture/FC2Contents/adult.html');
|
||||
|
||||
$this->createResolver(FC2ContentsResolver::class, $responseText);
|
||||
|
||||
@@ -35,7 +35,7 @@ class FC2ContentsResolverTest extends TestCase
|
||||
|
||||
public function testGeneral()
|
||||
{
|
||||
$responseText = file_get_contents(__DIR__ . '/../../fixture/FC2Contents/general.html');
|
||||
$responseText = $this->fetchSnapshot(__DIR__ . '/../../fixture/FC2Contents/general.html');
|
||||
|
||||
$this->createResolver(FC2ContentsResolver::class, $responseText);
|
||||
|
||||
|
||||
Reference in new issue
Block a user