2bnb / 2bnb/website

Add API Tests for all Models / Tables

未关闭
#21 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
backend
主要语言
PHP
星标
2
派生
2
PR 合并指标
30 天内没有已合并 PR

描述

- [ ] Resources
- [ ] Absences
- [ ] Ranks
- [ ] Rank Groups
- [ ] Awards
- [ ] Award Requirements
- [ ] User Awards
- [ ] Slots
- [ ] Slot Requirements
- [ ] Slot Groups
- [ ] Event Slot Groups
- [ ] Event Slots
- [ ] Events
- [ ] User Edit Event Permissions
- [ ] Misbehaviours
- [ ] Donations
- [ ] Posts
- [ ] User Edit Post Permissions
- [ ] Comments
- [ ] Users
- [ ] Roles
- [ ] Permissions
- [ ] Role Permissions
- [ ] Bots
- [ ] Bot Logs
- [ ] Qualifications
- [ ] Trainers
- [ ] Qualification Attendees
- [ ] Award Types
- [ ] User Roles

贡献指南

这个仓库没有索引到贡献指南

调研方向

The issue lists many models/tables needing API tests. First, examine the existing test structure in the repository to understand the testing framework (likely PHPUnit) and how API tests are organized. Look for a test directory, possibly `tests/`, and see if there are existing model or API test examples. Then, for each listed model (e.g., Resources, Absences), locate the corresponding model file and its API endpoints. Write tests that cover basic CRUD operations for each, ensuring they run successfully. 'Done' means all checkboxes have passing tests.

由索引模型根据 Issue 内容生成。

评估

技术栈
php
领域
testing
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
40/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。