From 0400bc771c4bfaaa64db5d4319688fb1e3d5b29f Mon Sep 17 00:00:00 2001 From: hina Date: Mon, 18 Feb 2019 17:32:09 +0900 Subject: [PATCH 1/2] =?UTF-8?q?git=E3=81=AB=E6=94=B9=E8=A1=8C=E3=82=B3?= =?UTF-8?q?=E3=83=BC=E3=83=89=E5=A4=89=E3=81=88=E3=82=89=E3=82=8C=E3=81=A6?= =?UTF-8?q?=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/fixture/.gitattributes | 1 + .../Nijie/testAnimationGifResponse.html | 22 +++---- tests/fixture/Nijie/testMp4MovieResponse.html | 60 +++++++++---------- .../Nijie/testMultiplePictureResponse.html | 24 ++++---- .../Nijie/testStandardPictureResponse.html | 32 +++++----- 5 files changed, 70 insertions(+), 69 deletions(-) create mode 100644 tests/fixture/.gitattributes diff --git a/tests/fixture/.gitattributes b/tests/fixture/.gitattributes new file mode 100644 index 0000000..fa1385d --- /dev/null +++ b/tests/fixture/.gitattributes @@ -0,0 +1 @@ +* -text diff --git a/tests/fixture/Nijie/testAnimationGifResponse.html b/tests/fixture/Nijie/testAnimationGifResponse.html index 696dbb0..f618032 100644 --- a/tests/fixture/Nijie/testAnimationGifResponse.html +++ b/tests/fixture/Nijie/testAnimationGifResponse.html @@ -1,11 +1,11 @@ -ニジエがgifに対応したんだってね 奥さん | 黒末アプコ | ニジエ - - - - - - - - - - +ニジエがgifに対応したんだってね 奥さん | 黒末アプコ | ニジエ + + + + + + + + + + diff --git a/tests/fixture/Nijie/testMp4MovieResponse.html b/tests/fixture/Nijie/testMp4MovieResponse.html index 7b65b97..f80c7c1 100644 --- a/tests/fixture/Nijie/testMp4MovieResponse.html +++ b/tests/fixture/Nijie/testMp4MovieResponse.html @@ -1,30 +1,30 @@ -てすと | ニジエ運営 | ニジエ - - - - - - -

 

good job

名無しのチンポップ

2018-04-10

- - - - +てすと | ニジエ運営 | ニジエ + + + + + + +

 

good job

名無しのチンポップ

2018-04-10

+ + + + diff --git a/tests/fixture/Nijie/testMultiplePictureResponse.html b/tests/fixture/Nijie/testMultiplePictureResponse.html index 6b6f54f..70d7a8e 100644 --- a/tests/fixture/Nijie/testMultiplePictureResponse.html +++ b/tests/fixture/Nijie/testMultiplePictureResponse.html @@ -1,12 +1,12 @@ - - ニジエ壁紙 | ニジエ運営 | ニジエ - - - - - - + + ニジエ壁紙 | ニジエ運営 | ニジエ + + + + + + diff --git a/tests/fixture/Nijie/testStandardPictureResponse.html b/tests/fixture/Nijie/testStandardPictureResponse.html index d8bd8f2..9d356db 100644 --- a/tests/fixture/Nijie/testStandardPictureResponse.html +++ b/tests/fixture/Nijie/testStandardPictureResponse.html @@ -1,16 +1,16 @@ -チンポップくんの日常ep.1「チンポップくんと釣り」 | ニジエ運営 | ニジエ - - - - - - - - - - - +チンポップくんの日常ep.1「チンポップくんと釣り」 | ニジエ運営 | ニジエ + + + + + + + + + + + From db3ba04091ef9ab404c655e41b440caae5d5664e Mon Sep 17 00:00:00 2001 From: hina Date: Mon, 18 Feb 2019 17:33:52 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E7=AB=8B=E3=81=A4=E9=B3=A5=E8=B7=A1?= =?UTF-8?q?=E3=82=92=E6=BF=81=E3=81=95=E3=81=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit モックを使用しない場合のsleepを復活 close #102 --- tests/Unit/MetadataResolver/NijieResolverTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/Unit/MetadataResolver/NijieResolverTest.php b/tests/Unit/MetadataResolver/NijieResolverTest.php index adb9b81..97794a9 100644 --- a/tests/Unit/MetadataResolver/NijieResolverTest.php +++ b/tests/Unit/MetadataResolver/NijieResolverTest.php @@ -12,6 +12,10 @@ class NijieResolverTest extends TestCase public function setUp() { parent::setUp(); + + if (!$this->shouldUseMock()) { + sleep(1); + } } public function testStandardPicture()