Correction stub

RepositoryAndroid
Alix JEUDI--LEMOINE 1 year ago
parent 33b1efa908
commit 7f6ac91470

@ -1,7 +1,8 @@
package fr.iut.sciencequest.stub package fr.iut.sciencequest.stub
import fr.iut.sciencequest.model.dto.DifficulteDTO
import fr.iut.sciencequest.model.dto.ScientifiqueDTO import fr.iut.sciencequest.model.dto.ScientifiqueDTO
import fr.iut.sciencequest.model.metier.Scientifique import fr.iut.sciencequest.model.dto.ThematiqueDTO
object StubScientifique1: ScientifiqueDTO ( object StubScientifique1: ScientifiqueDTO (
id = 1, id = 1,
@ -10,8 +11,8 @@ object StubScientifique1: ScientifiqueDTO (
prenom = "Jean", prenom = "Jean",
photo = "photo", photo = "photo",
sexe = 'H', sexe = 'H',
difficulteId = 1, difficulte = DifficulteDTO(1, "Facile"),
thematiqueId = 1, thematique = ThematiqueDTO(1, "Nucléaire"),
ratioTrouve = 0f ratioTrouve = 0f
) )
@ -22,8 +23,8 @@ object StubScientifique2: ScientifiqueDTO (
prenom = "Jean2", prenom = "Jean2",
photo = "photo2", photo = "photo2",
sexe = 'F', sexe = 'F',
difficulteId = 1, difficulte = DifficulteDTO(1, "Facile"),
thematiqueId = 1, thematique = ThematiqueDTO(1, "Nucléaire"),
ratioTrouve = 0f ratioTrouve = 0f
) )

Loading…
Cancel
Save