Backport(バックポート) #3458
OpenPNE 本体のテストコードに opCommunityTopicPlugin 依存のテストが含まれている
Start date:
2013-10-07
Due date:
% Done:
0%
Description
Overview (現象)¶
test/functional/pc_frontend/communityActionsTest.php の下記テストコードは opCommunityTopicPlugin が存在しない状態では動作せず、LogicException が発生する。
->info('/config/communityTopicNotificationMail/1 - CSRF')
->post('/config/communityTopicNotificationMail/1', array('topic_notify' => array()))
->followRedirect()
->checkCSRF()
Way to fix (修正内容)¶
該当部分を communityActionsTest.php から削除する
Related issues
History
#1
Updated by Akihiro KOBAYASHI over 9 years ago
- Status changed from New(新規) to Accepted(着手)
- Assignee set to Akihiro KOBAYASHI
#2
Updated by Akihiro KOBAYASHI over 9 years ago
- Status changed from Accepted(着手) to Pending Review(レビュー待ち)
- % Done changed from 0 to 50
pull request: https://github.com/openpne/OpenPNE3/pull/85
#3
Updated by Youichi Kimura about 9 years ago
- Status changed from Pending Review(レビュー待ち) to Rejected(差し戻し)
stable-3.8.x (3e28e407 時点) の source:test/functional/pc_frontend/communityActionsTest.php@3e28e407 には #3423 で報告したような opCommunityTopicPlugin 依存のテストコードが存在しないため、3.8.x に対してはバックポート不要です。
#4
Updated by Youichi Kimura about 9 years ago
- Status changed from Rejected(差し戻し) to Invalid(無効)
- % Done changed from 50 to 0