Enhancement(機能追加・改善) #3969
Youichi Kimura さんがほぼ8年前に更新
#3962 で削除したテストコードを動作する状態に修正した上で再び追加します。 h4. Functional Test * pc_backend ** POST /community/categoryEdit/id/1 (CSRF) ** POST /community/addDefaultCommunity/id/1 (CSRF) ** POST /connection (CSRF) ** POST /connection/1 (CSRF) ** POST /default/login (CSRF) ** POST /design/gadget?type=gadget (sfTesterDoctrine::check) ** POST /design/gadget?type=sideBanner (sfTesterDoctrine::check) ** POST /design/gadget?type=mobile (sfTesterDoctrine::check) ** POST /design (CSRF) ** POST /design/banner (CSRF) ** POST /design/banneradd (CSRF) ** POST /design/gadget (CSRF) ** POST /design/customCss (CSRF) ** GET /member/delete/id/1055 (XSS) ** POST /monitoring/editImage (CSRF) ** POST /navigation/edit?app=pc (CSRF) ** POST /navigation/edit?app=mobile (CSRF) ** POST /navigation/edit?app=backend (CSRF) ** POST /plugin/list?type=application (CSRF) ** POST /plugin/list?type=auth (CSRF) ** POST /plugin/list?type=skin (CSRF) ** POST /profile/edit (CSRF) ** POST /profile/editOption (CSRF) ** GET /sns/config?category=general (sfTestFunctionalBase::click) ** POST /sns/richTextarea (CSRF) ** POST /sns/changeRichTextareaButtonOrder (CSRF) * pc_frontend ** POST /community/quit?id=1 (CSRF) ** POST /community/join?id=1 (CSRF) ** GET /community/changeAdminRequest?id=1055&member_id=1056 (XSS) ** GET /community/changeAdminRequest?id=1055&member_id=1056 (XSS) ** GET /community/1055 (XSS) ** 「コミュニティリスト」ガジェットの画像部分のリンク先に対するリクエスト ** 「コミュニティリスト」ガジェットのテキスト部分のリンク先に対するリクエスト ** POST /confirmation/community_admin_request/5 (CSRF) ** POST /confirmation/community_sub_admin_request/8 (CSRF) ** GET /connection/1055 (XSS) ** GET /connection/list (XSS) ** POST /connection (CSRF) ** POST /connection/2/delete (CSRF) ** POST /connection/2 (CSRF) ** POST /connection/revoke/2 (CSRF) ** POST /leave (CSRF) ** POST /member/config?category=accessBlock (CSRF) ** POST /member/config?category=language (CSRF) ** GET / (XSS, RSSガジェット部分) * api ** "JSON API":https://houou.github.io/api.php/ に対するテスト h4. Unit Test * Doctrine_Record::getListener() (opApplicationLevelCascadingListener) * ActivityDataTable::getPublicFlags() * CommunityCategoryTable::getAllChildren() * CommunityCategory::getChildren() * CommunityMemberTable::join() * CommunityMemberTable::quit() * CommunityMemberTable::requestChangeAdmin() * CommunityMemberTable::requestSubAdmin() * CommunityMemberTable::getMemberIdsByCommunityId() * CommunityTable::getCommunityMemberListPager() * CommunityTable::getDefaultCommunities() * Community::countCommunityMembers() * Community::getNameAndCount() * File::delete() * MemberProfileTable::searchMemberIds() * MemberRelationshipTable::retrievesByMemberIdFrom() * MemberRelationshipTable::getFriendListPager() * MemberRelationshipTable::getFriendMemberIds() * MemberTable::searchMemberIds() * Member::getProfiles() * Member::countFriends() * Member::getNameAndCount() * Member::delete() * OAuthConsumerInformationTable::getListPager() * OAuthConsumerInformation::getAPICaptions() * ProfileOptionTable::getMaxSortOrder() * ProfileTable::getMaxSortOrder() * Profile::getOptionsArray() * opToolkit::loadXmlString()