2bnb / 2bnb/website

Add API Tests for all Models / Tables

Aperta
#21 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
backend
Lingua principale
PHP
Stelle
2
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
php
Ambito
testing
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
40/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.