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

Fix testcase to session_regenerate_id() #4586

Merged
merged 4 commits into from Jun 26, 2020
Merged

Conversation

nanasess
Copy link
Contributor

@nanasess nanasess commented Jun 23, 2020

概要(Overview・Refs Issue)

session_regenerate_id() のテストを修正

方針(Policy)

実装に関する補足(Appendix)

テスト(Test)

PHP7.3.18 で tests/Eccube/Tests/Session/Storage/Handler/SameSiteNoneCompatSessionHandlerTest.phpが通るのを確認

相談(Discussion)

マイナーバージョン互換性保持のための制限事項チェックリスト

  • 既存機能の仕様変更
  • フックポイントの呼び出しタイミングの変更
  • フックポイントのパラメータの削除・データ型の変更
  • twigファイルに渡しているパラメータの削除・データ型の変更
  • Serviceクラスの公開関数の、引数の削除・データ型の変更
  • 入出力ファイル(CSVなど)のフォーマット変更

レビュワー確認項目

  • 動作確認
  • コードレビュー
  • E2E/Unit テスト確認(テストの追加・変更が必要かどうか)
  • 互換性が保持されているか
  • セキュリティ上の問題がないか

@okazy
Copy link
Contributor

okazy commented Jun 24, 2020

#4585 で問題となっている以下のケース以外は問題なく通ることを確認しました。
#4585 取り込み後にマージOKです。

1) Eccube\Tests\Web\Admin\Product\CategoryControllerTest::testMoveSortNoAndShow
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'子2-2'
+'孫2'

@okazy okazy merged commit d66ebf7 into EC-CUBE:4.0 Jun 26, 2020
@okazy
Copy link
Contributor

okazy commented Jun 26, 2020

ありがとうございました。テストを通すために優先して取り込ませていただきました。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants