Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

テストが落ちる問題の修正 #562

Merged
merged 3 commits into from
Aug 3, 2022

Conversation

nobuhiko
Copy link
Contributor

guzzleかmailcatcherの返り値が変わったぽい

@nanasess
Copy link
Contributor

PHPStan のエラーは別PRで対応します

@nanasess
Copy link
Contributor

@nobuhiko Guzzle が SecurityChecker にひっかかってるので、 curl とか別の実装にした方がよいかもですね
https://github.com/EC-CUBE/ec-cube2/runs/7570709045?check_suite_focus=true

@nobuhiko
Copy link
Contributor Author

@nanasess phpunitのバージョンに依存してGuzzleの低いバージョンが入っちゃってる感じなんですかね。

@nobuhiko
Copy link
Contributor Author

安全なバージョンだと6.5.8だけど php: >=5.5
https://packagist.org/packages/guzzlehttp/guzzle#6.5.8

@nanasess
Copy link
Contributor

@nobuhiko 現状、 MailCatcher API に対して get と delete しかしてないので、 file_get_contents() と delete だけ curl とかでもよいかもしれないですね。
ちょっと時間みつけてやってみようと思います

@nobuhiko
Copy link
Contributor Author

@nanasess file_get_contentsで全部対処しときました

@codecov-commenter
Copy link

codecov-commenter commented Jul 29, 2022

Codecov Report

Merging #562 (30bb157) into master (4ee4912) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #562   +/-   ##
=======================================
  Coverage   54.63%   54.63%           
=======================================
  Files          76       76           
  Lines        9058     9058           
=======================================
  Hits         4949     4949           
  Misses       4109     4109           
Flag Coverage Δ
tests 54.63% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4ee4912...30bb157. Read the comment docs.

@nanasess
Copy link
Contributor

@nobuhiko すばらしい!ありがとうございます!

@chihiro-adachi
Copy link
Contributor

@nobuhiko
ありがとうございます、マージしました

@chihiro-adachi chihiro-adachi added this to the 2.17.3 milestone Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants