2bnb / 2bnb/website

Add API Tests for all Models / Tables

Đang mở
#21 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
backend
Ngôn ngữ chính
PHP
Star
2
Fork
2
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

- [ ] 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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
php
Lĩnh vực
testing
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
40/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.