2bnb / 2bnb/website

Add API Tests for all Models / Tables

Ouverte
#21 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
backend
Langage dominant
PHP
Étoiles
2
Forks
2
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
php
Domaine
testing
Type d'issue
Fonctionnalité
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
40/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.